-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: use a nix-shell action that supports unfree packages...
- Loading branch information
1 parent
39d0ed9
commit 90c9bd7
Showing
1 changed file
with
17 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -97,16 +97,17 @@ jobs: | |
nix_path: nixpkgs=channel:nixos-unstable | ||
extra_nix_config: | | ||
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} | ||
- uses: workflow/nix-shell-action@v3.3.0 | ||
- uses: rrbutani/use-nix-shell-action@v1 | ||
env: | ||
NIXPKGS_ALLOW_UNFREE: 1 # terraform uses BSL license now, so we have to enable unfree | ||
COLLIE_VERSION: ${{ github.event.release.tag_name }} | ||
with: | ||
packages: terraform,terragrunt,terraform-docs | ||
script: | | ||
curl -sf -L https://raw.githubusercontent.com/meshcloud/collie-cli/main/install.sh | sudo bash | ||
collie info | ||
./test/e2e.sh | ||
- name: run test | ||
env: | ||
COLLIE_VERSION: ${{ github.event.release.tag_name }} | ||
run: | | ||
curl -sf -L https://raw.githubusercontent.com/meshcloud/collie-cli/main/install.sh | sudo bash | ||
collie info | ||
./test/e2e.sh | ||
e2e-macos: | ||
runs-on: macos-latest | ||
needs: artifacts | ||
|
@@ -121,13 +122,14 @@ jobs: | |
nix_path: nixpkgs=channel:nixos-unstable | ||
extra_nix_config: | | ||
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} | ||
- uses: workflow/[email protected] | ||
env: | ||
COLLIE_VERSION: ${{ github.event.release.tag_name }} | ||
- uses: rrbutani/use-nix-shell-action@v1 | ||
env: | ||
NIXPKGS_ALLOW_UNFREE: 1 # terraform uses BSL license now, so we have to enable unfree | ||
with: | ||
packages: terraform,terragrunt,terraform-docs | ||
script: | | ||
curl -sf -L https://raw.githubusercontent.com/meshcloud/collie-cli/main/install.sh | sudo bash | ||
collie info | ||
./test/e2e.sh | ||
- name: run test | ||
env: | ||
COLLIE_VERSION: ${{ github.event.release.tag_name }} | ||
run: | | ||
curl -sf -L https://raw.githubusercontent.com/meshcloud/collie-cli/main/install.sh | sudo bash | ||
collie info | ||
./test/e2e.sh |