Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions .github/workflows/cli-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
steps:
- uses: actions/checkout@v7
- name: Install devbox
uses: jetify-com/devbox-install-action@jl/migrate-installer
uses: jetify-com/devbox-install-action@v0.15.0
with:
enable-cache: true
- name: Build flake
Expand All @@ -106,11 +106,9 @@ jobs:
steps:
- uses: actions/checkout@v7

- name: Install devbox
uses: jetify-com/devbox-install-action@jl/migrate-installer
with:
enable-cache: true

# Must be restored before installing devbox: the install action runs our
# init_hook (`go install tool`), which populates ~/go/pkg/mod. Restoring
# the cache on top of that fails with "Cannot open: File exists".
- name: Mount golang cache
uses: actions/cache@v5
with:
Expand All @@ -120,6 +118,11 @@ jobs:
~/go/pkg
key: go-${{ runner.os }}-${{ hashFiles('go.sum') }}

- name: Install devbox
uses: jetify-com/devbox-install-action@v0.15.0
with:
enable-cache: true

- run: devbox run lint

test:
Expand Down Expand Up @@ -192,7 +195,7 @@ jobs:
brew install dash zsh
fi
- name: Install devbox
uses: jetify-com/devbox-install-action@jl/migrate-installer
uses: jetify-com/devbox-install-action@v0.15.0
with:
enable-cache: true
- name: Setup Nix GitHub authentication
Expand Down
Loading