Skip to content

Commit

Permalink
CI: use go-version-file with go.mod instead of go-version with a env var
Browse files Browse the repository at this point in the history
  • Loading branch information
hj-johannes-lee committed Mar 22, 2023
1 parent 3c06e74 commit 762578b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:
- main
- 'release-*'
env:
GO_VERSION: 1.20
K8S_VERSION: 1.26.1
permissions:
contents: read
Expand Down Expand Up @@ -49,7 +48,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: go.mod
check-latest: true
- name: Install build dependencies needed for VPU plugin
run: |
Expand All @@ -68,7 +67,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: go.mod
check-latest: true
- name: Check Dockerfiles
run: make check-dockerfiles
Expand Down

0 comments on commit 762578b

Please sign in to comment.