summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yaml
diff options
context:
space:
mode:
authorseth <[email protected]>2024-04-21 19:49:14 +0000
committerGitHub <[email protected]>2024-04-21 19:49:14 +0000
commitf6e1aa350d6b23a4ffb63fc859c89b79ec6ce8d0 (patch)
treea1c8940feba0f2922cc18a958594c12b622e5efd /.github/workflows/ci.yaml
parentae1dc52060791990f994df6ecfd4960e6ff3fe5c (diff)
nix: remove subflake (#174)
Diffstat (limited to '.github/workflows/ci.yaml')
-rw-r--r--.github/workflows/ci.yaml12
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