Skip to content

Commit

Permalink
Use composite setup-go action in more places, disable GHA go caching (#…
Browse files Browse the repository at this point in the history
…6748)

Signed-off-by: Derek Nola <[email protected]>
  • Loading branch information
dereknola authored Sep 5, 2024
1 parent e439e03 commit 84cd13d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/test-suite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,8 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache-dependency-path: |
**/go.sum
**/go.mod
- name: Install Go
uses: ./.github/actions/setup-go
- name: Setup Build Directories
run: |
mkdir -p ./bin ./build/images
Expand Down Expand Up @@ -144,10 +140,7 @@ jobs:
run: vagrant plugin install vagrant-rke2 vagrant-reload vagrant-scp

- name: Install Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache: false
uses: ./.github/actions/setup-go
- name: Install Kubectl
run: |
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/updatecli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: 'stable'
cache: false

- name: Install Updatecli
uses: updatecli/updatecli-action@v2
Expand Down

0 comments on commit 84cd13d

Please sign in to comment.