Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to go 1.21 #184

Merged
merged 2 commits into from
Sep 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,15 @@ jobs:
lint:
name: Lint the code
runs-on: ubuntu-latest
container: golang:1.19
container: golang:1.21

steps:
- name: Check out repository code
uses: actions/checkout@v3

- name: Mark source directory as safe.
run: git config --global --add safe.directory $GITHUB_WORKSPACE

- name: Check formatting using gofmt
run: gofmt -s -l -d .

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

- name: Set up Go
uses: actions/setup-go@v4
with: { go-version: 1.19 }
with: { go-version: 1.21 }

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unit-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@v3

- name: Install go
uses: actions/setup-go@v4
with:
go-version: '1.19'
go-version: '1.21'

- name: Install dependencies
run: go mod download
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/spacelift-io/spacectl

go 1.19
go 1.21

require (
github.com/ProtonMail/gopenpgp/v2 v2.6.1
Expand Down