Update actions/checkout@v2 to actions/checkout@v3 #588
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
options: --entrypoint /bin/bash --user 0 | |
image: ghcr.io/algorithm-archivists/aaa-langs:latest | |
defaults: | |
run: | |
shell: bash --rcfile /root/.bashrc -eo pipefail {0} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- name: Install and build | |
run: | | |
npm install | |
npx honkit build | |
- name: Initalize cargo and run SCons | |
env: | |
HOME: /root | |
run: | | |
. "$HOME/.cargo/env" | |
scons -Q --random -j2 |