Skip to content

Commit

Permalink
chore: Bump Supported Go versions to 1.20, 1.21, 1.22 (#607)
Browse files Browse the repository at this point in the history
* chore: Bump go version in CIs

* fix the version matrix

* revert depencies upgrade

* Update Go version in go.mod

* trigger staging
  • Loading branch information
lahirumaramba committed Mar 20, 2024
1 parent 98efade commit 9e96b5a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go: [1.17, 1.18, 1.19]
go: ['1.20', '1.21', '1.22']

steps:
- name: Check out code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.17
go-version: '1.20'

- name: Install golint
run: go install golang.org/x/lint/golint@latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.17
go-version: '1.20'

- name: Install golint
run: go install golang.org/x/lint/golint@latest
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ requests, code review feedback, and also pull requests.
## Supported Go Versions

The Admin Go SDK is compatible with at least the three most recent, major Go releases.
We currently support Go v1.17 and higher.
We currently support Go v1.20 and higher.
[Continuous integration](https://github.com/firebase/firebase-admin-go/actions) system
tests the code on Go v1.17 through v1.19.
tests the code on Go v1.20 through v1.22.

## Documentation

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 firebase.google.com/go/v4

go 1.17
go 1.20

require (
cloud.google.com/go/firestore v1.9.0
Expand Down

0 comments on commit 9e96b5a

Please sign in to comment.