Skip to content

Commit 2f4a6b4

Browse files
authored
Merge pull request #1680 from dannyzaken/danny-go-1.24
updated go version to 1.24
2 parents e0a1a8d + 1c61c8a commit 2f4a6b4

27 files changed

+116
-39
lines changed

.github/workflows/cli-tests.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,11 @@ jobs:
1818
- name: Set up Go
1919
uses: actions/setup-go@v5
2020
with:
21-
go-version: "1.23"
22-
21+
go-version-file: go.mod
22+
check-latest: true
23+
cache: true
24+
cache-dependency-path: |
25+
**/go.sum
2326
- name: Set environment variables
2427
run: |
2528
echo "PATH=$PATH:$HOME/go/bin" >> $GITHUB_ENV

.github/workflows/core-config-map-tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ jobs:
1818
- name: Set up Go
1919
uses: actions/setup-go@v5
2020
with:
21-
go-version: "1.23"
21+
go-version-file: go.mod
22+
check-latest: true
23+
cache: true
24+
cache-dependency-path: |
25+
**/go.sum
2226
2327
- name: Set environment variables
2428
run: |

.github/workflows/golangci-lint.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ jobs:
1313
- uses: actions/checkout@v4
1414
- uses: actions/setup-go@v5
1515
with:
16-
go-version: "1.23"
16+
go-version-file: go.mod
17+
check-latest: true
18+
cache: true
19+
cache-dependency-path: |
20+
**/go.sum
1721
- name: run lint
1822
id: run-build
1923
run: make lint || exit 1

.github/workflows/manual-build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ jobs:
2121
ref: ${{ github.event.inputs.branch }}
2222
- uses: actions/setup-go@v5
2323
with:
24-
go-version: "1.23"
24+
go-version-file: go.mod
25+
check-latest: true
26+
cache: true
27+
cache-dependency-path: |
28+
**/go.sum
2529
2630
- name: Get Current Date
2731
id: date

.github/workflows/operator-olm-tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ jobs:
2121
- name: Set up Go
2222
uses: actions/setup-go@v5
2323
with:
24-
go-version: "1.23"
24+
go-version-file: go.mod
25+
check-latest: true
26+
cache: true
27+
cache-dependency-path: |
28+
**/go.sum
2529
2630
- name: Run OLM Tests
2731
run: make test-olm

.github/workflows/operator-tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ jobs:
1818
- name: Set up Go
1919
uses: actions/setup-go@v5
2020
with:
21-
go-version: "1.23"
21+
go-version-file: go.mod
22+
check-latest: true
23+
cache: true
24+
cache-dependency-path: |
25+
**/go.sum
2226
2327
- name: Generate API
2428
run: make gen-api-fail-if-dirty --always-make

.github/workflows/run_admission_test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@ jobs:
2020
- name: Setup Go
2121
uses: actions/setup-go@v5
2222
with:
23-
go-version: "1.23"
23+
go-version-file: ./noobaa-operator/go.mod
24+
check-latest: true
25+
cache: true
26+
cache-dependency-path: |
27+
**/go.sum
2428
2529
- name: Set environment variables
2630
run: |

.github/workflows/run_cnpg_deployment_test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ jobs:
1919
uses: actions/checkout@v4
2020
- uses: actions/setup-go@v5
2121
with:
22-
go-version: "1.23"
22+
go-version-file: go.mod
23+
check-latest: true
24+
cache: true
25+
cache-dependency-path: |
26+
**/go.sum
2327
2428
- name: Start Minikube
2529
id: minikube

.github/workflows/run_cosi_test.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@ jobs:
2020
- name: Setup Go on runner
2121
uses: actions/setup-go@v5
2222
with:
23-
go-version: "1.23"
23+
go-version-file: go.mod
24+
check-latest: true
25+
cache: true
26+
cache-dependency-path: |
27+
**/go.sum
2428
2529
- name: Set environment variables
2630
run: |

.github/workflows/run_hac_test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ jobs:
1313
uses: actions/checkout@v4
1414
- uses: actions/setup-go@v5
1515
with:
16-
go-version: "1.23"
16+
go-version-file: go.mod
17+
check-latest: true
18+
cache: true
19+
cache-dependency-path: |
20+
**/go.sum
1721
1822
- name: Set environment variables
1923
run: |

0 commit comments

Comments
 (0)