Skip to content

Commit

Permalink
feat: upgrade to go 1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
cfoust committed Dec 13, 2023
1 parent 7e49b60 commit da97d70
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-artifacts-and-draft-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: 1.21
- name: Build
uses: goreleaser/goreleaser-action@v5
with:
Expand All @@ -51,7 +51,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: 1.21
- name: Build
uses: goreleaser/goreleaser-action@v5
with:
Expand All @@ -70,7 +70,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: 1.21
- name: Make directories
run: |
mkdir -p ./cy-build/linux
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.19"
go-version: "1.21"

- name: Build
run: go build -v ./cmd/cy/.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.19"
go-version: "1.21"

- uses: charmbracelet/vhs-action@v2

Expand Down
2 changes: 1 addition & 1 deletion ci/goreleaser-for-darwin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ builds:
- embed_frontend
env:
- VERSION="development"
- GO_VERSION="1.19"
- GO_VERSION="1.21"
- CGO_ENABLED=1
- GIT_COMMIT="unknown"
- BUILD_TIME="unknown"
Expand Down
2 changes: 1 addition & 1 deletion ci/goreleaser-for-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ builds:
- embed_frontend
env:
- VERSION="development"
- GO_VERSION="1.19"
- GO_VERSION="1.21"
- CGO_ENABLED=1
- GIT_COMMIT="unknown"
- BUILD_TIME="unknown"
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/cfoust/cy

go 1.19
go 1.21

require (
github.com/alecthomas/chroma v0.10.0 // indirect
Expand Down
2 changes: 1 addition & 1 deletion pkg/version/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package version
// These should be set via go build -ldflags -X 'xxxx'.
var (
Version = "development"
GoVersion = "1.19"
GoVersion = "1.21"
GitCommit = "unknown"
BuildTime = "unknown"
)

0 comments on commit da97d70

Please sign in to comment.