rutils/.forgejo/workflows/build.yaml
Rasmus Moorats baa6a93ad3
All checks were successful
/ build (push) Successful in 16s
/ clippy (push) Successful in 39s
fail on warnings
2024-10-25 11:13:44 +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