From 3137fffac6a0aabcccde999ba947783e7c9a7b19 Mon Sep 17 00:00:00 2001 From: Wojciech Kozlowski Date: Sat, 6 Jan 2024 10:43:44 +0100 Subject: [PATCH] Add lints --- .gitea/workflows/gitea-ci.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/gitea-ci.yaml b/.gitea/workflows/gitea-ci.yaml index 0aff31b..b8b19ee 100644 --- a/.gitea/workflows/gitea-ci.yaml +++ b/.gitea/workflows/gitea-ci.yaml @@ -1,4 +1,4 @@ -name: Cargo Build and Test +name: Cargo CI on: push: @@ -10,10 +10,12 @@ env: CARGO_TERM_COLOR: always jobs: - build_and_test: - name: Build and Test + pipeline: + name: Pipeline container: docker.io/drrobot/musichoard-ci:rust-1.75 steps: - uses: actions/checkout@v3 - run: cargo build --verbose --all-features --all-targets - run: cargo test --verbose --all-features --lib --bins + - run: cargo clippy --verbose --all-features -- -D warnings + - run: cargo fmt --verbose -- --check