Skip to content

Commit

Permalink
ci(github-actions): bump the target go versions to 1.19 and 1.20
Browse files Browse the repository at this point in the history
  • Loading branch information
danvergara committed Apr 30, 2023
1 parent 91c0f57 commit dda9d02
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-goreleaser.yml
Expand Up @@ -17,9 +17,9 @@ jobs:
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: 1.18
go-version: 1.20
- name: Install GoReleaser
uses: goreleaser/goreleaser-action@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
goVer: [1.16, 1.17, 1.18]
goVer: ['1.19', '1.20']
# Defines the platform for each test run.
runs-on: ${{ matrix.os }}
# define the container services used to run integration tests
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:

# The steps that will be run through for each version and platform combination.
- name: Set up Go ${{ matrix.goVer }}
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.goVer }}
cache: true
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: '1.20'
check-latest: true
cache: true
- name: Install cross-compiler for linux/arm64
Expand All @@ -42,7 +42,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: '1.20'
check-latest: true
cache: true
- name: Build
Expand All @@ -65,7 +65,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: '1.20'
check-latest: true
cache: true
- name: Build
Expand All @@ -91,7 +91,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: '1.20'
check-latest: true
cache: true
- name: Make directories
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yaml
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
goVer: [1.16, 1.17, 1.18]
goVer: ['1.19', '1.20']
# Defines the platform for each test run.
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -18,7 +18,7 @@ jobs:

# The steps that will be run through for each version and platform combination.
- name: Set up Go ${{ matrix.goVer }}
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.goVer }}
cache: true
Expand All @@ -36,9 +36,9 @@ jobs:

# Installs go using a single version.
- name: Install Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: 1.18
go-version: '1.20'
check-latest: true

# Runs the default linters provided by golangci-lint plus golint and godot.
Expand Down

0 comments on commit dda9d02

Please sign in to comment.