Skip to content
This repository was archived by the owner on Jun 3, 2026. It is now read-only.

chore(deps): bump CodSpeedHQ/action from 4.3.4 to 4.4.1 (#50) #320

chore(deps): bump CodSpeedHQ/action from 4.3.4 to 4.4.1 (#50)

chore(deps): bump CodSpeedHQ/action from 4.3.4 to 4.4.1 (#50) #320

Workflow file for this run

name: CI
permissions:
contents: read
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
env:
RUST_BACKTRACE: 1
CARGO_TERM_COLOR: always
jobs:
fmt:
name: Format
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6-beta
with:
persist-credentials: false
- name: Setup rust toolchain, cache and just
uses: moonrepo/setup-rust@ede6de059f8046a5e236c94046823e2af11ca670 # v1.2.2
with:
channel: stable
bins: just
components: rustfmt
- name: Check formatting
run: just fmt-check
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6-beta
with:
persist-credentials: false
- name: Setup rust toolchain, cache and just
uses: moonrepo/setup-rust@ede6de059f8046a5e236c94046823e2af11ca670 # v1.2.2
with:
channel: stable
bins: just
components: clippy
- name: Run clippy
run: just lint
test:
name: Test (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Checkout
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6-beta
with:
persist-credentials: false
- name: Setup rust toolchain, cache, install nextest and just
uses: moonrepo/setup-rust@ede6de059f8046a5e236c94046823e2af11ca670 # v1.2.2
with:
channel: stable
cache-target: test
bins: just,cargo-nextest
- name: Build
run: just build
- name: Run tests
run: just test
audit:
name: Security Audit
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6-beta
with:
persist-credentials: false
- uses: EmbarkStudios/cargo-deny-action@f2ba7abc2abebaf185c833c3961145a3c275caad # v2.0.13
coverage:
name: Code Coverage
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6-beta
with:
persist-credentials: false
- name: Setup rust toolchain, cache, install nextest, just and cargo-llvm-cov
uses: moonrepo/setup-rust@ede6de059f8046a5e236c94046823e2af11ca670 # v1.2.2
with:
channel: nightly
components: llvm-tools
cache-target: test
bins: just,cargo-nextest,cargo-llvm-cov
- name: Generate coverage
run: |
cargo +nightly llvm-cov --all-features --no-report nextest
cargo +nightly llvm-cov --all-features --no-report --doc
cargo +nightly llvm-cov report --doctests --lcov --output-path lcov.info
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f # v1.1.1
with:
file: target/nextest/default/junit.xml
token: ${{ secrets.CODECOV_TOKEN }}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
with:
file: lcov.info
fail_ci_if_error: false
token: ${{ secrets.CODECOV_TOKEN }}