Skip to content

Commit

Permalink
bump golang version
Browse files Browse the repository at this point in the history
  • Loading branch information
theFong committed Aug 15, 2024
1 parent 836e9a9 commit 88f502d
Show file tree
Hide file tree
Showing 29 changed files with 30 additions and 33 deletions.
4 changes: 2 additions & 2 deletions .brev/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ append_if_not_exist ". \$HOME/.asdf/asdf.sh" ~/.zshrc

# golang
asdf plugin add golang https://github.com/asdf-community/asdf-golang.git
asdf install golang 1.21.8
asdf global golang 1.21.8
asdf install golang 1.22.6
asdf global golang 1.22.6
asdf install
GO_VERSION=$(asdf current golang | awk '{print $2}')
GO_ROOT=$HOME/.asdf/installs/golang/$GO_VERSION/go
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21
FROM golang:1.22.6

# [Option] Install zsh
ARG INSTALL_ZSH="true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22.6'
cache: true
- name: expire test cache
run: go clean -testcache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Test_ChangePwd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22.6'
cache: true
- name: expire test cache
run: go clean -testcache
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22.6'
cache: true
- name: expire test cache
run: go clean -testcache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Test_NoProjectBrev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22.6'
cache: true
- name: expire test cache
run: go clean -testcache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Test_NoUserBrevNoProj.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22.6'
cache: true
- name: expire test cache
run: go clean -testcache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Test_NoUserBrevProj.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22.6'
cache: true
- name: expire test cache
run: go clean -testcache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Test_ProjectRepoNoBrev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22.6'
cache: true
- name: expire test cache
run: go clean -testcache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Test_ProvidedSetupFileChange.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22.6'
cache: true
- name: expire test cache
run: go clean -testcache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Test_ProvidedSetupRanNoProj.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22.6'
cache: true
- name: expire test cache
run: go clean -testcache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Test_ProvidedSetupUpdated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22.6'
cache: true
- name: expire test cache
run: go clean -testcache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Test_UnauthenticatedSSHKey.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22.6'
cache: true
- name: expire test cache
run: go clean -testcache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Test_UserBrevProjectBrevV0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22.6'
cache: true
- name: expire test cache
run: go clean -testcache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Test_UserBrevProjectBrevV1All.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22.6'
cache: true
- name: expire test cache
run: go clean -testcache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Test_UserBrevProjectBrevV1Minimal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22.6'
cache: true
- name: expire test cache
run: go clean -testcache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Test_VscodeExtension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22.6'
cache: true
- name: expire test cache
run: go clean -testcache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Test_httpGit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22.6'
cache: true
- name: expire test cache
run: go clean -testcache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

- uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22.6'
cache: true

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

- uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22.6'
cache: true


Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/legacy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

- uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22.6'
cache: true
- name: Build
run: make ci
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:

- uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22.6'
cache: true
- name: Release test
run: make build
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

- uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22.6'
cache: true
- name: install
run: make install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22.6'
cache: true
- name: Release
run: make ci smoke-test release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

- uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22.6'
cache: true
- name: install
run: make install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

- uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22.6'
cache: true
- name: install
run: make install
Expand Down
1 change: 0 additions & 1 deletion .tool-versions

This file was deleted.

2 changes: 1 addition & 1 deletion bin/gen-e2e-actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def generate_file_content(test_name):
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '1.21'
go-version: '1.22.6'
cache: true
- name: expire test cache
run: go clean -testcache
Expand Down
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module github.com/brevdev/brev-cli

go 1.22.0

toolchain go1.22.6
go 1.22.6

require (
github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137
Expand Down
2 changes: 1 addition & 1 deletion tools/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/brevdev/brev-cli/tools

go 1.21
go 1.22.6

require (
github.com/golangci/golangci-lint v1.57.2
Expand Down

0 comments on commit 88f502d

Please sign in to comment.