Skip to content

ci: configure ProSA CI #6

ci: configure ProSA CI

ci: configure ProSA CI #6

Workflow file for this run

---
name: Rust
# yamllint disable-line rule:truthy
on:
push:
pull_request:
workflow_dispatch:
schedule: [cron: "40 1 * * *"]
env:
RUSTFLAGS: -Dwarnings
RUST_BACKTRACE: 1
CARGO_TERM_COLOR: always
permissions:
contents: read
jobs:
clippy:
name: Clippy
runs-on: ubuntu-latest
if: github.event_name != 'pull_request'
timeout-minutes: 45
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
components: clippy,rustc-dev
- run: >
cargo clippy --color always
--verbose --all-targets
--all-features --tests
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: rustc-dev
- run: cargo check --benches --all-features --release