Skip to content

Commit

Permalink
Upgrade to Go 1.23 and update github actions steps (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
akajla09 authored Sep 6, 2024
1 parent c09cac7 commit 3a2bbda
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup Go Env
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: "^1.22.0"
go-version: "^1.23.0"
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Go test
run: go test
- name: Build apirunner binary
run: make -C cmd/apirunner build
- name: GoReleaser Check
uses: goreleaser/goreleaser-action@v4
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: latest
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup Go Env
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: "^1.22.0"
go-version: "^1.23.0"
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Release with GoReleaser
uses: goreleaser/goreleaser-action@v4
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: latest
Expand Down
1 change: 1 addition & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version: 2
before:
hooks:
# - go mod tidy
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/warrant-dev/apirunner

go 1.22
go 1.23

require (
github.com/go-test/deep v1.1.1
Expand Down

0 comments on commit 3a2bbda

Please sign in to comment.