This repository has been archived by the owner on Aug 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a199227
commit efdc0be
Showing
4 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,18 +8,18 @@ runs: | |
with: | ||
# This should be the same Go version we use in the go-check workflow. | ||
# go mod tidy, go vet, staticcheck and gofmt might behave differently depending on the version. | ||
go-version: "1.17.x" | ||
go-version: "1.18.x" | ||
- name: bump go.mod go version if needed | ||
uses: protocol/[email protected] | ||
with: | ||
working-directory: ${{ env.TARGET_REPO_DIR }} | ||
run: | | ||
# We want our modules to support two Go versions at a time. | ||
# As of August 2021, Go 1.17 is the latest stable. | ||
# As of March 2022, Go 1.18 is the latest stable. | ||
# go.mod's Go version declares the language version being used. | ||
# As such, it has to be the minimum of all Go versions supported. | ||
# Bump this every six months, as new Go versions come out. | ||
TARGET_VERSION=1.16 | ||
TARGET_VERSION=1.17 | ||
# Note that the "<" comparison doesn't understand semver, | ||
# but it should be good enough for the foreseeable future. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters