Skip to content

Commit

Permalink
bump go version to 1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
Equanox committed Mar 14, 2024
1 parent cc10425 commit 8daaed9
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 221 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 8daaed9

Please sign in to comment.