summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yaml10
-rw-r--r--.github/workflows/clippy.yaml2
2 files changed, 6 insertions, 6 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() }}
diff --git a/.github/workflows/clippy.yaml b/.github/workflows/clippy.yaml
index 32668a8..32f2f11 100644
--- a/.github/workflows/clippy.yaml
+++ b/.github/workflows/clippy.yaml
@@ -40,7 +40,7 @@ jobs:
- name: Run clippy
id: clippy-run
run: |
- nix build --print-build-logs .#check-clippy
+ nix build --print-build-logs .#checks.x86_64-linux.clippy
[ -L result ] || exit 1
echo "sarif-file=$(readlink -f result)" >> "$GITHUB_OUTPUT"