This repository was archived by the owner on Nov 11, 2025. It is now read-only.
chore(deps): lock file maintenance #109
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: CI (Rust) | |
| on: | |
| push: | |
| branches: [main] | |
| paths-ignore: | |
| - '**/*.md' | |
| - '**/*.yml' | |
| - '**/*.ts' | |
| - '**/*.js' | |
| - '**/*.d.ts' | |
| - '**/package.json' | |
| - '**/tsconfig.json' | |
| - '**/.prettierrc.json' | |
| - 'yarn.lock' | |
| - '!.github/workflows/ci-rs.yml' | |
| pull_request: | |
| branches: [main] | |
| types: [opened, synchronize] | |
| paths-ignore: | |
| - '**/*.md' | |
| - '**/*.yml' | |
| - '**/*.ts' | |
| - '**/*.js' | |
| - '**/*.d.ts' | |
| - '**/package.json' | |
| - '**/tsconfig.json' | |
| - '**/.prettierrc.json' | |
| - 'yarn.lock' | |
| - '!.github/workflows/ci-rs.yml' | |
| jobs: | |
| check: | |
| name: Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1 | |
| - uses: Boshen/setup-rust@main | |
| with: | |
| # warm cache factory for all other CI jobs | |
| # cache `target` directory to avoid download crates | |
| save-cache: ${{ github.ref_name == 'main' }} | |
| cache-key: warm | |
| - run: cargo check | |
| fmt: | |
| name: Format | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1 | |
| - uses: Boshen/setup-rust@main | |
| with: | |
| components: rustfmt | |
| tools: taplo-cli | |
| restore-cache: false | |
| - run: cargo fmt --all -- --check | |
| - run: taplo lint | |
| clippy: | |
| name: Clippy | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1 | |
| - uses: Boshen/setup-rust@main | |
| with: | |
| components: clippy | |
| restore-cache: false | |
| - run: cargo clippy --no-deps -- -D warnings |