Skip to content

Commit cb65ba2

Browse files
michael-valdronrm3l
andcommittedOct 30, 2023
use go.mod version
Co-authored-by: Armel Soro <[email protected]> Signed-off-by: Michael Valdron <[email protected]>
1 parent 712c088 commit cb65ba2

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed
 

‎.github/workflows/ci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
name: Set up Go 1.x
2828
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
2929
with:
30-
go-version: 1.19
30+
go-version-file: 'go.mod'
3131
-
3232
name: Check out code into the Go module directory
3333
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3

‎.github/workflows/codecov.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Set up Go 1.x
2929
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
3030
with:
31-
go-version: 1.19
31+
go-version-file: 'go.mod'
3232
- name: Run tests
3333
run: make test
3434
- name: Codecov

‎.github/workflows/release.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
- name: Setup Go environment
5656
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
5757
with:
58-
go-version: 1.19
58+
go-version-file: 'go.mod'
5959
- name: Download operator-sdk
6060
run: |
6161
export ARCH=$(case $(uname -m) in x86_64) echo -n amd64 ;; aarch64) echo -n arm64 ;; *) echo -n $(uname -m) ;; esac)
@@ -102,7 +102,7 @@ jobs:
102102
- name: Setup Go environment
103103
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
104104
with:
105-
go-version: 1.19
105+
go-version-file: 'go.mod'
106106
- name: Download operator-sdk
107107
run: |
108108
export ARCH=$(case $(uname -m) in x86_64) echo -n amd64 ;; aarch64) echo -n arm64 ;; *) echo -n $(uname -m) ;; esac)

0 commit comments

Comments
 (0)