diff options
Diffstat (limited to '.github/workflows/ci.yaml')
| -rw-r--r-- | .github/workflows/ci.yaml | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 44e7de3..ebaf53a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -25,7 +25,6 @@ jobs: uses: dtolnay/rust-toolchain@stable with: toolchain: stable - components: clippy - name: Setup Rust cache uses: Swatinem/rust-cache@v2 @@ -33,8 +32,8 @@ jobs: - name: Run build run: cargo build --locked --release - format: - name: Check formatting + format-and-lint: + name: Format & lint runs-on: ubuntu-latest @@ -50,14 +49,11 @@ jobs: - name: Run treefmt run: | - pushd nix/dev - nix fmt - popd - git diff --color=always --exit-code + nix flake check --all-systems --print-build-logs --show-trace release-gate: name: CI Release Gate - needs: [build, format] + needs: [build, format-and-lint] runs-on: ubuntu-latest |
