mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
CI: use go-version-file with go.mod instead of go-version with a env var
This commit is contained in:
parent
3c06e74365
commit
762578bc3f
5
.github/workflows/ci.yaml
vendored
5
.github/workflows/ci.yaml
vendored
@ -9,7 +9,6 @@ on:
|
||||
- main
|
||||
- 'release-*'
|
||||
env:
|
||||
GO_VERSION: 1.20
|
||||
K8S_VERSION: 1.26.1
|
||||
permissions:
|
||||
contents: read
|
||||
@ -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: |
|
||||
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user