Skip to content

chore(deps): bump the all-cargo-deps group across 1 directory with 5 updates #14

chore(deps): bump the all-cargo-deps group across 1 directory with 5 updates

chore(deps): bump the all-cargo-deps group across 1 directory with 5 updates #14

Workflow file for this run

name: Check and Test
on:
push:
branches:
- main
pull_request:
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Set up compilation cache (sccache)
uses: mozilla-actions/sccache-action@v0.0.9
- name: Install nextest
uses: taiki-e/install-action@nextest
- name: Unit tests
run: cargo ci-test
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- name: Set up compilation cache (sccache)
uses: mozilla-actions/sccache-action@v0.0.9
- name: Clippy check
run: cargo ci-lint
coverage:
runs-on: ubuntu-latest
if: github.actor != 'dependabot[bot]'
environment: github-actions
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Set up compilation cache (sccache)
uses: mozilla-actions/sccache-action@v0.0.9
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Install nextest
uses: taiki-e/install-action@nextest
- name: Generate coverage
run: cargo llvm-cov nextest --all-features --no-tests=pass --lcov --output-path lcov.info
- name: Upload to Codecov
uses: codecov/codecov-action@v5
with:
files: lcov.info
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
format:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: Set up compilation cache (sccache)
uses: mozilla-actions/sccache-action@v0.0.9
- name: Rustfmt check
run: cargo ci-fmt