summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yaml
diff options
context:
space:
mode:
authorseth <[email protected]>2024-11-08 20:47:25 -0500
committerGitHub <[email protected]>2024-11-08 20:47:25 -0500
commit0ff35842087b3b16e7e41caa6f794151b47f304a (patch)
tree1fd0158e5833690bfc178b08ad51cfeb7a0f7d43 /.github/workflows/ci.yaml
parent1ec360f351022851e1a3bbe2b588c5c224b33331 (diff)
Clean up Nix Flake and packaging (#24)
* refactor(nix): split package.nix from flake.nix * chore(nix): split checks; add more * ci: run all nix checks * ci: build in debug mode * chore(nix): use versionCheckHook this makes sure the version test is always run, and on the right package * chore(nix): nix-filter -> lib.fileset * feat(nix): support stable nix * ci: fix clippy check
Diffstat (limited to '.github/workflows/ci.yaml')
-rw-r--r--.github/workflows/ci.yaml10
1 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index b2d5df4..0ba71ce 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -41,10 +41,10 @@ jobs:
- name: Run build
run: |
- nix build --print-build-logs .#check-version-test
+ nix build --print-build-logs .#nix-forecast-debug
- format:
- name: Formatting
+ format-and-lint:
+ name: Format and lint
runs-on: ubuntu-latest
@@ -60,11 +60,11 @@ jobs:
- name: Run flake checks
run: |
- nix build --print-build-logs .#check-formatting
+ nix flake check --print-build-logs --show-trace
release-gate:
name: CI Release gate
- needs: [build, format]
+ needs: [build, format-and-lint]
if: ${{ always() }}