Skip to content

Commit

Permalink
setting up go before running CRIB (ensures GOBIN is in place) (#725)
Browse files Browse the repository at this point in the history
this should fix the issue related to the crib executable not being found in PATH, as well as caching dependencies
  • Loading branch information
rafaelfelix authored Nov 26, 2024
1 parent a1c64ab commit 3c3b871
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/long-carpets-unite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"crib-deploy-environment": minor
---

setting up go before running CRIB to ensure GOBIN is properly set
5 changes: 5 additions & 0 deletions actions/crib-deploy-environment/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,11 @@ runs:
with:
registries: ${{ inputs.aws-ecr-private-registry }}

- uses: actions/setup-go@v5
with:
go-version-file: "${{ github.workspace }}/crib/go.work"
cache-dependency-path: "${{ github.workspace }}/crib/**/*.sum"

- name: Setup Nix
uses: smartcontractkit/.github/actions/setup-nix@4df907a307d91761c15cdff65e508145bdbcfca3 # [email protected]
with:
Expand Down

0 comments on commit 3c3b871

Please sign in to comment.