Skip to content

Commit f0cc04f

Browse files
authored
Merge pull request #42 from strvcom/ci/bump-dependencies
ci: bump dependencies
2 parents 5357683 + f419207 commit f0cc04f

File tree

6 files changed

+10
-16
lines changed

6 files changed

+10
-16
lines changed

.github/actions/setup-go/action.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,8 @@ inputs:
1111
runs:
1212
using: "composite"
1313
steps:
14-
- name: Get Go version
15-
id: go-version
16-
shell: bash
17-
run: echo "go-version=$(sed -ne '/^toolchain /s/^toolchain go//p' go.mod)" >> $GITHUB_OUTPUT
1814
- id: go-setup
19-
uses: actions/setup-go@v5
15+
uses: actions/setup-go@v6
2016
with:
21-
go-version: ${{ steps.go-version.outputs.go-version }}
22-
check-latest: true
17+
go-version-file: go.mod
2318
cache: ${{ inputs.cache }}

.github/workflows/lint.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,10 @@ jobs:
1616
contents: read
1717
steps:
1818
- name: Checkout repository
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@v5
2020
- name: Install Go
2121
uses: ./.github/actions/setup-go
2222
- name: Run golangci-lint
23-
uses: golangci/golangci-lint-action@v7
23+
uses: golangci/golangci-lint-action@v9
2424
with:
25-
version: v2.4.0
26-
25+
version: v2.6.1

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ jobs:
1616
contents: read
1717
steps:
1818
- name: Checkout repository
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@v5
2020
- name: Install Go
2121
uses: ./.github/actions/setup-go
2222
- name: Run Go tests with coverage
2323
run: |
2424
go test -race -coverprofile=coverage.out -covermode=atomic ./...
2525
- name: Upload coverage to Codecov
26-
uses: codecov/codecov-action@v4
26+
uses: codecov/codecov-action@v5
2727
with:
2828
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/vuln-scan.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
contents: read
1717
steps:
1818
- name: Checkout repository
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@v5
2020
- name: Install Go
2121
uses: ./.github/actions/setup-go
2222
- name: Install OSV Scanner

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module go.strv.io/net
22

33
go 1.23.0
44

5-
toolchain go1.25.0
5+
toolchain go1.25.4
66

77
require (
88
github.com/99designs/gqlgen v0.17.78

http/param/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ In this example, using chi to access path parameters that has a `{id}` wildcard
1212

1313
```
1414
parsedInput := MyInputStruct{}
15-
param.DefaultParser().PathParamFunc(chi.URLParam).Parse(request, &parsedInput)
15+
param.DefaultParser().WithPathParamFunc(chi.URLParam).Parse(request, &parsedInput)
1616
```

0 commit comments

Comments
 (0)