start-up: add runc baseline #20
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: "Basic checks for the experiment repo" | ||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
types: [opened, synchronize, reopened, ready_for_review] | ||
defaults: | ||
run: | ||
shell: bash | ||
# Cancel previous running actions for the same PR | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | ||
jobs: | ||
lint_and_format: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "Checkout code" | ||
uses: actions/checkout@v4 | ||
name: "Install apt deps" | ||
Check failure on line 26 in .github/workflows/checks.yaml GitHub Actions / Basic checks for the experiment repoInvalid workflow file
|
||
run: sudo apt install -y libfontconfig1 | ||
- name: "Run cargo fmt check" | ||
run: cargo fmt --all -- --check | ||
- name: "Run cargo clippy" | ||
run: cargo clippy -- -D warnings | ||