Skip to content

Commit

Permalink
upgrade devbox cli test to use version 0.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
LucilleH committed Mar 4, 2024
1 parent 037ac22 commit 8ec37c0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Install devbox
uses: ./
with:
devbox-version: 0.5.13
devbox-version: 0.9.1
project-path: 'testdata'
disable-nix-access-token: "${{ github.ref != 'refs/heads/main' }}"

Expand All @@ -60,10 +60,10 @@ jobs:
- name: Install devbox
uses: ./
with:
devbox-version: 0.5.13
devbox-version: 0.9.1
refresh-cli: true
project-path: 'testdata'
sha256-checksum: '481cc5d270a22843d7f7c34eac6cea4bbe9f2cdfbc72f0217ea3823ebabecc43'
sha256-checksum: 'f58202279237b9e0e7d69ef9334c7ca0628db31e5575f105dad6f41a171ebb6a'
disable-nix-access-token: "${{ github.ref != 'refs/heads/main' }}"

test-action-with-sha256-checksum-failure:
Expand All @@ -75,7 +75,7 @@ jobs:
uses: ./
continue-on-error: true
with:
devbox-version: 0.5.13
devbox-version: 0.9.1
refresh-cli: true
sha256-checksum: 'bad-sha'
project-path: 'testdata'
Expand All @@ -91,9 +91,9 @@ jobs:
- name: Install devbox
uses: ./
with:
devbox-version: 0.5.13
devbox-version: 0.9.1
enable-cache: true
refresh-cli: true
sha256-checksum: 'f5907e5782f6e1f5a7ca32c8ae2a0a81618549314bab237174a46fb216f43809'
sha256-checksum: '3cf9bdffbdcc73f49f99f90df7092379589ef2e90f994cfc0163d2ff07a1f189'
project-path: 'testdata'
disable-nix-access-token: "${{ github.ref != 'refs/heads/main' }}"
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v3
- name: Install devbox
uses: jetpack-io/devbox-install-action@v0.7.0
uses: jetpack-io/devbox-install-action@v0.8.0
- name: Run arbitrary commands
run: devbox run -- echo "done!"
Expand Down Expand Up @@ -52,7 +52,7 @@ Here's an example job with all inputs:
project-path: 'path-to-folder'
enable-cache: 'true'
refresh-cli: 'false'
devbox-version: 0.5.13
devbox-version: 0.9.1
disable-nix-access-token: 'false'
sha256-sum: f5907e5782f6e1f5a7ca32c8ae2a0a81618549314bab237174a46fb216f43809
```
2 changes: 1 addition & 1 deletion testdata/devbox.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"go@latest"
],
"shell": {
"init_hook": null
"init_hook": []
}
}

0 comments on commit 8ec37c0

Please sign in to comment.