Skip to content

Commit 1cd8806

Browse files
committed
Bump workflow actions
1 parent cbd7b0b commit 1cd8806

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,27 @@ on:
44
push:
55
pull_request:
66

7+
permissions:
8+
contents: read
9+
710
jobs:
811
build:
912
runs-on: ubuntu-latest
1013

1114
steps:
1215
- name: Checkout
13-
uses: actions/checkout@v4
16+
uses: actions/checkout@v6
1417

1518
- name: Set up Go
16-
uses: actions/setup-go@v5
19+
uses: actions/setup-go@v6
1720
with:
18-
go-version: '1.26'
21+
go-version-file: go.mod
22+
cache-dependency-path: go.sum
1923

2024
- name: Run tests
2125
run: go test -v ./...
2226

2327
- name: Run lint
24-
uses: golangci/golangci-lint-action@v7
28+
uses: golangci/golangci-lint-action@v9
2529
with:
26-
version: v2.11.4
30+
version: v2.12.2

0 commit comments

Comments
 (0)