Skip to content

chore(deps): bump actions/download-artifact from 7 to 8 (#77) #252

chore(deps): bump actions/download-artifact from 7 to 8 (#77)

chore(deps): bump actions/download-artifact from 7 to 8 (#77) #252

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: REUSE lint
uses: fsfe/reuse-action@v6
- name: Cache cargo
uses: actions/cache@v5
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Cargo fmt
run: cargo fmt --all -- --check
- name: Cargo clippy
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Cargo test
run: cargo test --all
- name: Cargo doc (lint warnings)
run: cargo doc --no-deps