Repository navigation
Bump music21-rs from 2dc7d68 to adbeeee in the rust-dependencies group across 1 directory
#220
Workflow file for this run
This file contains hidden or 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: Check | |
| on: | |
| pull_request: | |
| push: | |
| branches: [master] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: check-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 | |
| with: | |
| submodules: recursive | |
| # This job builds and runs a pull request's own branch, which for a | |
| # fork is somebody else's code, and a build script is code. The token | |
| # is read-only here and there are no secrets in the job, so there is | |
| # little to reach — and no reason to leave it reachable. Every | |
| # dependency this fetches is public. | |
| persist-credentials: false | |
| - name: Install Nix | |
| uses: cachix/install-nix-action@13d8dd58da0234aa297dedd986986ccb8e7f3e24 # v31 | |
| with: | |
| nix_path: nixpkgs=channel:nixos-unstable | |
| - name: Install Rust toolchain | |
| run: nix develop . --command rustup toolchain install --profile minimal stable | |
| - name: Check | |
| run: nix develop . --command cargo run --locked --no-default-features --manifest-path tools/site/Cargo.toml -- check | |
| - name: Check photo feature | |
| run: nix develop . --command cargo check --locked --tests --manifest-path tools/site/Cargo.toml --no-default-features --features photos |