Bump taiki-e/install-action from 2.82.8 to 2.82.9 #159
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: Checks | |
| env: | |
| CACHE_VERSION: 0 | |
| CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse | |
| CARGO_TERM_COLOR: always | |
| RUST_BACKTRACE: full | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| merge_group: | |
| permissions: | |
| contents: read | |
| jobs: | |
| cargo-checks: | |
| name: Task cargo ${{ matrix.action }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| action: [clippy, fmt, nextest, vstyle] | |
| steps: | |
| - name: Fetch latest code | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 | |
| - name: Setup build environment | |
| if: matrix.action != 'fmt' | |
| run: rustup show | |
| - uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 | |
| if: matrix.action != 'fmt' | |
| with: | |
| prefix-key: ${{ env.CACHE_VERSION }} | |
| key: ${{ matrix.action }} | |
| - name: Install cargo-make | |
| uses: taiki-e/install-action@4684b8405694ae9dd42c9f39ba901a70ae83f4a3 | |
| with: | |
| tool: cargo-make | |
| - name: Install taplo | |
| if: matrix.action == 'fmt' | |
| uses: taiki-e/install-action@4684b8405694ae9dd42c9f39ba901a70ae83f4a3 | |
| with: | |
| tool: taplo | |
| - name: Cargo clippy | |
| if: matrix.action == 'clippy' | |
| run: cargo make lint-rust | |
| - name: Cargo fmt | |
| if: matrix.action == 'fmt' | |
| run: | | |
| rustup toolchain install nightly | |
| rustup component add rustfmt --toolchain nightly | |
| cargo make fmt-check | |
| - name: Install cargo-nextest | |
| if: matrix.action == 'nextest' | |
| uses: taiki-e/install-action@4684b8405694ae9dd42c9f39ba901a70ae83f4a3 | |
| with: | |
| tool: nextest | |
| - name: Cargo nextest | |
| if: matrix.action == 'nextest' | |
| run: cargo make test-rust | |
| - name: Install cargo-vstyle | |
| if: matrix.action == 'vstyle' | |
| run: cargo install --git https://github.com/hack-ink/vibe-style --rev f509613696c60fbc5e444072469024888d91d88b --locked | |
| - name: Cargo vstyle | |
| if: matrix.action == 'vstyle' | |
| run: cargo make lint-vstyle-rust |