Skip to content

flake: update flake.lock #512

flake: update flake.lock

flake: update flake.lock #512

Workflow file for this run

name: rust build
on:
push:
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
check:
name: cargo check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly
- run: cargo check
test:
name: cargo test
runs-on: ubuntu-latest
needs: check
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly
- run: cargo test --features all
clippy:
name: Clippy
runs-on: ubuntu-latest
if: github.event_name != 'pull_request'
timeout-minutes: 45
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly
components: clippy
- run: cargo clippy --features all --tests -- -Dclippy::all