Bump actions/checkout from 7.0.0 to 7.0.1 #7
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
| # SPDX-FileCopyrightText: 2026 Blackcat Informatics® Inc. <paudley@blackcatinformatics.ca> | |
| # SPDX-License-Identifier: MIT OR Apache-2.0 | |
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| rust: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable | |
| with: | |
| components: clippy, rustfmt | |
| targets: wasm32-unknown-unknown | |
| - name: Cache Cargo dependencies | |
| uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1 | |
| - name: Format | |
| if: runner.os == 'Linux' | |
| run: cargo fmt --check | |
| - name: Clippy | |
| if: runner.os == 'Linux' | |
| run: cargo clippy --all-targets -- -D warnings | |
| - name: Rustdoc | |
| if: runner.os == 'Linux' | |
| env: | |
| RUSTDOCFLAGS: -D warnings | |
| run: cargo doc --no-deps | |
| - name: Test | |
| run: cargo test --locked | |
| - name: Wasm library build | |
| if: runner.os == 'Linux' | |
| run: cargo build --lib --target wasm32-unknown-unknown | |
| - name: Package dry-run | |
| if: runner.os == 'Linux' | |
| run: cargo publish --locked --dry-run |