Fix setup-go typos (#9634)

* Fix setup-go typos

Signed-off-by: Derek Nola <derek.nola@suse.com>
This commit is contained in:
Derek Nola 2024-03-04 10:18:36 -08:00 committed by GitHub
parent 935ad1dbac
commit 29c73e6965
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 2 deletions

View File

@ -10,6 +10,7 @@ runs:
- name: Prepare for go cache
if: ${{ github.ref != 'refs/heads/master' }}
shell: bash
run: |
echo "GO_CACHE=$(go env GOCACHE)" | tee -a "$GITHUB_ENV"
echo "GO_MODCACHE=$(go env GOMODCACHE)" | tee -a "$GITHUB_ENV"

View File

@ -46,7 +46,7 @@ jobs:
with:
fetch-depth: 1
- name: Install Go
uses: .github/actions/setup-go
uses: ./.github/actions/setup-go
- name: "Download k3s binary"
uses: actions/download-artifact@v3
with:

View File

@ -36,7 +36,7 @@ jobs:
with:
fetch-depth: 1
- name: Install Go
uses: .github/actions/setup-go
uses: ./.github/actions/setup-go
- name: Run Unit Tests
run: |
go test -coverpkg=./... -coverprofile=coverage.out ./pkg/... -run Unit