Skip to content

Game registration refactor and improvements #12

Game registration refactor and improvements

Game registration refactor and improvements #12

Workflow file for this run

name: Check
on:
pull_request:
jobs:
clippy:
name: Clippy
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup toolchain
uses: dtolnay/rust-toolchain@stable
- name: Restore cache
uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Install clippy-sarif
run: cargo install clippy-sarif sarif-fmt
- name: Run clippy
run: >
cargo clippy --workspace --all-features --all --message-format=json
| clippy-sarif
| tee clippy-results.sarif
| sarif-fmt
continue-on-error: true
- name: Upload and submit SARIF
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: clippy-results.sarif
wait-for-processing: true