Skip to content

Commit

Permalink
update go in workflows to be 1.20 (#1043)
Browse files Browse the repository at this point in the history
* update go in workflows to be 1.20

* remove -i ... it is the default?
  • Loading branch information
burmudar committed Oct 6, 2023
1 parent 93218fa commit e58f6a8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/go-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
go-test:
strategy:
matrix:
go-version: [1.19.x]
go-version: [1.20.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -17,5 +17,4 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- run: go test -i ./...
- run: go test -race -v ./...
2 changes: 1 addition & 1 deletion .github/workflows/go-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19.x
go-version: 1.20.x
- run: ./dev/go-lint.sh
4 changes: 2 additions & 2 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build and Release

on:
push:
tags:
tags:
- '*'

# There are two cases where this GitHub action will run:
Expand Down Expand Up @@ -177,7 +177,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: 1.20
- run: go test -i ./...
- run: go test -race -v ./...
- run: echo "${DOCKER_PASSWORD}" | docker login -u=$DOCKER_USERNAME --password-stdin
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
golang 1.19.8
golang 1.20.8
shfmt 3.2.0
shellcheck 0.7.1

0 comments on commit e58f6a8

Please sign in to comment.