Skip to content

Commit 40e2ebd

Browse files
authored
Merge pull request #168 from kaovilai/cve-fix-oadp-1.6
OADP-7565: Use go-version-file in CI workflows
2 parents 845e083 + 308222e commit 40e2ebd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Set up Go
1515
uses: actions/setup-go@v6
1616
with:
17-
go-version: '1.25'
17+
go-version-file: 'go.mod'
1818

1919
- name: golangci-lint
2020
uses: golangci/golangci-lint-action@v9

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
- uses: actions/checkout@v4
1616

1717
- name: Set up Go
18-
uses: actions/setup-go@v4
18+
uses: actions/setup-go@v6
1919
with:
20-
go-version: '1.24'
20+
go-version-file: 'go.mod'
2121

2222
- name: Run tests
2323
run: go test ./...

0 commit comments

Comments
 (0)