Skip to content

Commit 12075ff

Browse files
committed
fix
1 parent c334b4c commit 12075ff

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

.github/workflows/cli-tests.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,9 @@ jobs:
8787
uses: jetify-com/[email protected]
8888
with:
8989
enable-cache: true
90-
- name: Run devbox install
91-
run: devbox install
92-
- name: Add Go to PATH
93-
run: echo "$(devbox run which go | xargs dirname)" >> $GITHUB_PATH
94-
- uses: DeterminateSystems/nix-installer-action@main
9590
- name: Build flake
9691
run: |
97-
if ! nix build .; then
92+
if ! devbox run build-flake; then
9893
echo "::warning::If this fails, you probably have to run 'devbox run update-hash'"
9994
exit 1
10095
fi

devbox.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"go mod vendor -o $vendor",
5151
"nix hash path $vendor >vendor-hash"
5252
],
53+
"build-flake": "nix build .",
5354
"tidy": ["go mod tidy", "devbox run update-hash"],
5455
// docker-testscripts runs the testscripts with Docker to exercise
5556
// Linux-specific tests. It invokes the test binary directly, so any extra

flake.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)