Skip to content

Commit 0c1b09e

Browse files
authored
ci: update versions in workflows (#169)
1 parent c2d87d6 commit 0c1b09e

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,23 @@ on:
88
branches:
99
- master
1010

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
build:
1316
runs-on: ubuntu-latest
1417
strategy:
1518
matrix:
16-
go-version: [1.21.x, 1.23.x]
19+
go-version: [1.21.x, 1.25.x]
1720
steps:
1821
- name: Setup Go
19-
uses: actions/setup-go@v5
22+
uses: actions/setup-go@v6
2023
with:
2124
go-version: ${{ matrix.go-version }}
2225

2326
- name: Checkout code
24-
uses: actions/checkout@v4
27+
uses: actions/checkout@v5
2528

2629
- name: Run coverage
2730
run: go test -race ./... -coverprofile=coverage.out -covermode=atomic

.github/workflows/golangci-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout code
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v5
1919

2020
- name: Get go version from go.mod
2121
run: |
2222
echo "GO_VERSION=$(grep '^go ' go.mod | cut -d " " -f 2)" >> $GITHUB_ENV
2323
2424
- name: Setup-go
25-
uses: actions/setup-go@v5
25+
uses: actions/setup-go@v6
2626
with:
2727
go-version: ${{ env.GO_VERSION }}
2828

0 commit comments

Comments
 (0)