swick-rs/.forgejo/workflows/build.yaml
Rasmus Moorats d09b13de1f
All checks were successful
/ clippy (push) Successful in 19s
/ build (push) Successful in 51s
fail on warnings
2024-10-25 11:15:22 +03:00

21 lines
482 B
YAML

on: [push]
env:
RUSTFLAGS: "-Dwarnings"
jobs:
build:
runs-on: docker
steps:
- uses: https://code.forgejo.org/actions/checkout@v3
- uses: https://github.com/dtolnay/rust-toolchain@nightly
- run: cargo build --release
clippy:
runs-on: docker
steps:
- uses: https://code.forgejo.org/actions/checkout@v3
- uses: https://github.com/dtolnay/rust-toolchain@nightly
with:
components: clippy
- run: cargo clippy