-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: use latest go version for unit testing cases of contribution comp…
…onents (#4062)
- Loading branch information
Showing
4 changed files
with
22 additions
and
14 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,17 +29,22 @@ concurrency: | |
|
||
env: | ||
TZ: "Asia/Shanghai" | ||
|
||
# for unit testing cases of some components that only execute on the latest go version. | ||
LATEST_GO_VERSION: "1.23" | ||
|
||
jobs: | ||
code-test: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
# 🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥 | ||
# When adding new go version to the list, make sure: | ||
# 1. Update the `LATEST_GO_VERSION` env variable. | ||
# 🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥 | ||
go-version: [ "1.20", "1.21", "1.22", "1.23" ] | ||
goarch: [ "386", "amd64" ] | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Setup Timezone | ||
uses: szenius/[email protected] | ||
|
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