Skip to content

Commit 3f9c134

Browse files
Pull request for issue #18 (#21)
* feat: Bump Go version to 1.24
1 parent c1306ea commit 3f9c134

File tree

3 files changed

+13
-10
lines changed

3 files changed

+13
-10
lines changed

.github/workflows/go.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,12 @@ jobs:
1111
build:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v4
1515

1616
- name: Set up Go
17-
uses: actions/setup-go@v2
17+
uses: actions/setup-go@v5
1818
with:
19-
go-version: 1.15
19+
go-version: '1.24.8'
2020

2121
- name: Build
22-
run: go build -v ./...
23-
22+
run: go build -v ./...

.github/workflows/golangci-lint.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,16 @@ jobs:
1212
name: lint
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v4
16+
- name: Set up Go
17+
uses: actions/setup-go@v5
18+
with:
19+
go-version: '1.24.8'
1620
- name: golangci-lint
17-
uses: golangci/golangci-lint-action@v2
21+
uses: golangci/golangci-lint-action@v6.0.1
1822
with:
1923
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
20-
version: v1.36.0
24+
version: v2.5.0
2125

2226
# Optional: working directory, useful for monorepos
2327
# working-directory: somedir
@@ -35,4 +39,4 @@ jobs:
3539
# skip-pkg-cache: true
3640

3741
# Optional: if set to true then the action don't cache or restore ~/.cache/go-build.
38-
# skip-build-cache: true
42+
# skip-build-cache: true

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module github.com/sizovilya/go-psn-api
22

3-
go 1.15
3+
go 1.24

0 commit comments

Comments
 (0)