Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: use a nix-shell action that supports unfree packages... #257

Merged
merged 1 commit into from
Oct 16, 2023
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
32 changes: 17 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Loading