Skip to content

Update GitHub Actions #106

Update GitHub Actions

Update GitHub Actions #106

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
uses: ./.github/workflows/build.yml

Check failure on line 14 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. In .github/workflows/ci.yml (Line: 14, Col: 11): Error from called workflow TitanNano/sc2mpz/.github/workflows/build.yml@3ae02c2bc8cad7a5c63a90ccdb67d4c59f8fac2f (Line: 64, Col: 17): Unexpected symbol: '"windows"'. Located at position 20 within expression: matrix.platform == "windows" && ".exe"
rust-clippy:
runs-on: 'ubuntu-20.04'
steps:
- name: checkout
uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name: Install Build Dependencies
run: cargo install clippy-sarif sarif-fmt
- name: Check
run: |
cargo clippy --all-targets --message-format json -- -A dead_code -D warnings | clippy-sarif | tee rust-clippy-results.sarif | sarif-fmt
continue-on-error: true
- name: Upload Results
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: rust-clippy-results.sarif
wait-for-processing: true