ci: don't build twice in the test phase

This commit is contained in:
Jon Seager 2026-02-06 17:57:47 +00:00
parent a8465826b5
commit 1bcadf1d3e
No known key found for this signature in database

View file

@ -11,7 +11,7 @@ concurrency:
jobs: jobs:
test: test:
name: Build/Test name: Run Tests
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check out code into the Go module directory - name: Check out code into the Go module directory
@ -28,10 +28,6 @@ jobs:
primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix', '**/flake.lock') }} primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix', '**/flake.lock') }}
restore-prefixes-first-match: nix-${{ runner.os }}- restore-prefixes-first-match: nix-${{ runner.os }}-
- name: Build brewlog
run: |
nix build -L .#brewlog
- name: Run tests - name: Run tests
run: | run: |
nix develop --command cargo test -- --show-output nix develop --command cargo test -- --show-output