Skip to content

Commit

Permalink
Upgrade to Golang v1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
sourishkrout committed Aug 16, 2023
1 parent bcecc2d commit b65fe33
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go: ["1.20"]
go: ["1.21"]
name: Lint with Go ${{ matrix.go }}
steps:
- uses: actions/checkout@v2
Expand All @@ -37,7 +37,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go: ["1.20"]
go: ["1.21"]
os: [ubuntu-latest, windows-latest]
name: Build and test with Go ${{ matrix.go }} on ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
- name: Setup go
uses: actions/setup-go@v2
with:
go-version: ">=1.20"
go-version: ">=1.21"
- name: Install dependencies
run: make install/dev
- name: Build
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ nfpms:
amd64: x86_64
vendor: Stateful Inc.
homepage: https://stateful.com
maintainer: Adam Babik <adam.babik@stateful.com>
maintainer: Sebastian Tiedtke <sebastian@stateful.com>
description: "Execute code snippets directly from Markdown files."
file_name_template: "{{ .PackageName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}"
formats:
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,9 @@ The requisite tools can be installed with:
make install/goreleaser
```

## Upgrading to go 1.20
## Upgrading to go 1.21

After upgrading go to version 1.20, you'll need to make sure to reinstall dev packages, as some may be outdated:
After upgrading go to version 1.21, you'll need to make sure to reinstall dev packages, as some may be outdated:

```sh { name=upgrade-go-120 }
make install/dev
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/stateful/runme

go 1.20
go 1.21

require (
github.com/Masterminds/semver/v3 v3.1.1
Expand Down
1 change: 1 addition & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5t
go.uber.org/atomic v1.9.0 h1:ECmE8Bn/WFTYwEW/bpKD3M8VtR/zQVbavAoalC1PYyE=
go.uber.org/atomic v1.9.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc=
go.uber.org/goleak v1.1.11 h1:wy28qYRKZgnJTxGxvye5/wgWr1EKjmUDGYox5mGlRlI=
go.uber.org/goleak v1.1.11/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ=
go.uber.org/multierr v1.9.0 h1:7fIwc/ZtS0q++VgcfqFDxSBZVv/Xo49/SYnDFupUwlI=
go.uber.org/multierr v1.9.0/go.mod h1:X2jQV1h+kxSjClGpnseKVIxpmcjrj7MNnI0bnlfKTVQ=
go.uber.org/zap v1.24.0 h1:FiJd5l1UOLj0wCgbSE0rwwXHzEdAZS6hiiSnxJN/D60=
Expand Down

0 comments on commit b65fe33

Please sign in to comment.