Skip to content

fix(deps): update all non-major dependencies #307

fix(deps): update all non-major dependencies

fix(deps): update all non-major dependencies #307

Workflow file for this run

---
name: CI
on:
push:
branches: [ main ]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: ${{ github.ref_name != 'main' }}
env:
CI: true
CARGO_TERM_COLOR: always
RUST_LOG: info
RUST_BACKTRACE: 1
RUSTFLAGS: "-Dwarnings -C debuginfo=0"
jobs:
code-quality:
name: Code Quality
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install Rust toolchain
uses: moonrepo/setup-rust@v1
with:
components: clippy,rustfmt
cache-base: main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Check formatting
run: cargo fmt --all --check
- name: Run Clippy
run: cargo clippy --all-targets --all-features
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install Rust toolchain
uses: moonrepo/setup-rust@v1
with:
cache-base: main
bins: cargo-nextest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Check
run: cargo check --all-targets --all-features
- name: Run tests
run: cargo nextest run --profile ci
- name: Run doc tests
run: cargo test --doc