Skip to content

Commit

Permalink
go version: bump go version to 1.21 (#380)
Browse files Browse the repository at this point in the history
* bump go version to 1.21
  • Loading branch information
Equanox committed Mar 14, 2024
1 parent cc10425 commit 97cfcaa
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 224 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: 1.21

- name: Install bob
run: make install-prod
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ on:
release:
types:
- created

jobs:
release_build:
runs-on: ubuntu-latest
steps:
- name: Set Tag in env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV

- name: Checkout
uses: actions/checkout@v2
with:
Expand All @@ -20,7 +20,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.19
go-version: 1.21

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
Expand Down
4 changes: 2 additions & 2 deletions bob.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
project: bob.build/benchkram/bob
nixpkgs: https://github.com/NixOS/nixpkgs/archive/nixos-22.11.tar.gz
nixpkgs: https://github.com/NixOS/nixpkgs/archive/nixos-23.11.tar.gz

variables:
VERSION: v0.0.0
Expand Down Expand Up @@ -41,7 +41,7 @@ build:
dependencies:
- nix
- git
- go_1_19
- go
- golangci-lint
- docker
- gcc
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/benchkram/bob

go 1.17
go 1.21

require (
github.com/benchkram/errz v0.0.0-20211210135050-f997ca868855
Expand All @@ -26,6 +26,7 @@ require (
github.com/pkg/errors v0.9.1
github.com/sanity-io/litter v1.5.5
github.com/schollz/progressbar/v3 v3.11.0
github.com/sergi/go-diff v1.3.1
github.com/spf13/cobra v1.4.0
github.com/spf13/viper v1.13.0
github.com/stretchr/testify v1.8.2
Expand Down Expand Up @@ -138,7 +139,6 @@ require (
github.com/prometheus/procfs v0.7.3 // indirect
github.com/rivo/uniseg v0.2.0 // indirect
github.com/sanathkr/go-yaml v0.0.0-20170819195128-ed9d249f429b // indirect
github.com/sergi/go-diff v1.3.1 // indirect
github.com/sirupsen/logrus v1.8.1 // indirect
github.com/spf13/afero v1.8.2 // indirect
github.com/spf13/cast v1.5.0 // indirect
Expand Down
Loading

0 comments on commit 97cfcaa

Please sign in to comment.