Skip to content

Commit

Permalink
feat: require golang 1.20 or later (googleapis#1299)
Browse files Browse the repository at this point in the history
* feat: require golang 1.20 or later

* feat: use golang 1.20 in CI

* feat: use golang 1.20 in CI

* feat: use golang 1.20 in CI
  • Loading branch information
andrei-scripniciuc committed Dec 15, 2023
1 parent 4d6e057 commit 6864876
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: 1.18
go-version: "1.20"
- run: go test -p 1 ./...
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: 1.18
go-version: "1.20"
- name: staticcheck
uses: dominikh/staticcheck-action@v1.3.0
with:
Expand All @@ -30,6 +30,6 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: 1.18
go-version: "1.20"
- name: Run the quality checker (which catches obvious mistakes, missing docs, etc.)
run: go run ./.github/quality-checker
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/googleapis/api-linter

go 1.18
go 1.20

require (
bitbucket.org/creachadair/stringset v0.0.11
Expand Down

0 comments on commit 6864876

Please sign in to comment.