Skip to content

Commit f21b7d5

Browse files
authored
Bump Go version to 1.24 and update CI (#22)
Update go version to 1.24
2 parents ee032fd + 0caa382 commit f21b7d5

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ permissions:
1212
contents: read
1313

1414
env:
15-
GO_VERSION: ^1.23
15+
GO_VERSION: 1.24
1616
DB_IMAGE: ${{ secrets.DB_IMAGE }}
1717
DB_VERSION: ${{ secrets.DB_VERSION }}
1818
DB_PORT: ${{ secrets.DB_PORT }}
@@ -36,7 +36,15 @@ jobs:
3636
- name: Run golangci-lint
3737
uses: golangci/golangci-lint-action@v6
3838
with:
39-
version: v1.60
39+
version: v1.64.2
40+
args: --verbose --config=.golangci.yml
41+
42+
- name: Upload golangci-lint report
43+
if: always()
44+
uses: actions/upload-artifact@v4
45+
with:
46+
name: golangci-lint-report
47+
path: report.xml
4048

4149
scan:
4250
name: Security Scan
@@ -56,7 +64,7 @@ jobs:
5664
- name: Run Gosec Security Scanner
5765
uses: securego/gosec@v2.22.4
5866
with:
59-
args: '-fmt sarif -out gosec-results.sarif ./...'
67+
args: "-fmt sarif -out gosec-results.sarif ./..."
6068

6169
- name: Upload Gosec results
6270
uses: actions/upload-artifact@v4

go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module github.com/aronreisx/bubblebank
22

3-
go 1.23.0
4-
5-
toolchain go1.23.4
3+
go 1.24
64

75
require (
86
github.com/docker/go-connections v0.5.0

mise.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[tools]
2-
go = "1.23.4"
2+
go = "1.24"

0 commit comments

Comments
 (0)