mirror of https://github.com/k3s-io/k3s
Fix setup-go typos (#9634)
* Fix setup-go typos Signed-off-by: Derek Nola <derek.nola@suse.com>pull/9647/head
parent
f92bce4769
commit
33fe9bea0e
|
@ -10,6 +10,7 @@ runs:
|
||||||
|
|
||||||
- name: Prepare for go cache
|
- name: Prepare for go cache
|
||||||
if: ${{ github.ref != 'refs/heads/master' }}
|
if: ${{ github.ref != 'refs/heads/master' }}
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
echo "GO_CACHE=$(go env GOCACHE)" | tee -a "$GITHUB_ENV"
|
echo "GO_CACHE=$(go env GOCACHE)" | tee -a "$GITHUB_ENV"
|
||||||
echo "GO_MODCACHE=$(go env GOMODCACHE)" | tee -a "$GITHUB_ENV"
|
echo "GO_MODCACHE=$(go env GOMODCACHE)" | tee -a "$GITHUB_ENV"
|
|
@ -47,7 +47,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
- name: Install Go
|
- name: Install Go
|
||||||
uses: .github/actions/setup-go
|
uses: ./.github/actions/setup-go
|
||||||
- name: "Download k3s binary"
|
- name: "Download k3s binary"
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -36,7 +36,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
- name: Install Go
|
- name: Install Go
|
||||||
uses: .github/actions/setup-go
|
uses: ./.github/actions/setup-go
|
||||||
- name: Run Unit Tests
|
- name: Run Unit Tests
|
||||||
run: |
|
run: |
|
||||||
go test -coverpkg=./... -coverprofile=coverage.out ./pkg/... -run Unit
|
go test -coverpkg=./... -coverprofile=coverage.out ./pkg/... -run Unit
|
||||||
|
|
Loading…
Reference in New Issue