Skip to content

Commit

Permalink
Bump Go version to 1.23
Browse files Browse the repository at this point in the history
  • Loading branch information
ringsaturn committed Aug 21, 2024
1 parent 5e5cbf6 commit e3d6299
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 13 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.22"
- uses: actions/checkout@v4
go-version-file: go.mod
- uses: bufbuild/buf-setup-action@v1
with:
version: "latest"
Expand All @@ -30,9 +30,6 @@ jobs:
golangci:
name: golangci-lint
needs: [buf]
strategy:
matrix:
go: ["1.22"]
permissions:
contents: read
pull-requests: read
Expand All @@ -44,7 +41,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
go-version-file: go.mod

- name: golangci-lint
uses: golangci/golangci-lint-action@v6
Expand All @@ -55,16 +52,13 @@ jobs:
test:
runs-on: ubuntu-latest
needs: [golangci]
strategy:
matrix:
go: ["1.22"]
steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
go-version-file: go.mod

- run: make install
- run: make build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.22"
go-version-file: go.mod
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.22 AS builder
FROM golang:1.23 AS builder

RUN cat /etc/os-release

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/ringsaturn/tzf-server

go 1.22.0
go 1.23

require (
github.com/cloudwego/hertz v0.9.2
Expand Down

0 comments on commit e3d6299

Please sign in to comment.