Skip to content

Commit f20fe93

Browse files
committed
workflow: add setup-go step
1 parent 6c00b59 commit f20fe93

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/release-draft.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ env:
1313
jobs:
1414
build:
1515
runs-on: [ ubuntu-latest ]
16+
strategy:
17+
matrix:
18+
go-version: [ '1.22.x' ]
1619

1720
permissions:
1821
contents: write
@@ -23,7 +26,12 @@ jobs:
2326
steps:
2427
- name: Checkout code
2528
uses: actions/checkout@v3
26-
29+
30+
- name: Setup Go ${{ matrix.go-version }}
31+
uses: actions/setup-go@v5
32+
with:
33+
go-version: ${{ matrix.go-version }}
34+
2735
- name: golangci-lint
2836
uses: golangci/golangci-lint-action@v6.1.0
2937
with:

0 commit comments

Comments
 (0)