dev: remove stable from actions/setup-go (#3055)

Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
This commit is contained in:
Kir Kolyshkin 2022-08-03 19:12:44 -07:00 committed by GitHub
parent 1557692e59
commit 3ffde13a17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 30 additions and 20 deletions

View File

@ -14,9 +14,10 @@ jobs:
- name: Install Go
uses: actions/setup-go@v3
with:
# Keep the following comment to be able to use rc and beta version of Go (ex: 1.18.0-rc.1).
# https://github.com/actions/setup-go#supported-version-syntax
# stable: 'false'
# ex:
# - 1.18beta1 -> 1.18.0-beta.1
# - 1.18rc1 -> 1.18.0-rc.1
go-version: 1.19
- name: Update GitHub action config

View File

@ -13,9 +13,10 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
# Keep the following comment to be able to use rc and beta version of Go (ex: 1.18.0-rc.1).
# https://github.com/actions/setup-go#supported-version-syntax
# stable: 'false'
# ex:
# - 1.18beta1 -> 1.18.0-beta.1
# - 1.18rc1 -> 1.18.0-rc.1
go-version: 1.19
- name: Run go list
run: go list -json -m all > go.list

View File

@ -16,9 +16,10 @@ jobs:
- name: Install Go
uses: actions/setup-go@v3
with:
# Keep the following comment to be able to use rc and beta version of Go (ex: 1.18.0-rc.1).
# https://github.com/actions/setup-go#supported-version-syntax
# stable: 'false'
# ex:
# - 1.18beta1 -> 1.18.0-beta.1
# - 1.18rc1 -> 1.18.0-rc.1
go-version: ${{ env.GO_VERSION }}
- name: Checkout code
uses: actions/checkout@v3
@ -36,9 +37,10 @@ jobs:
- name: Install Go
uses: actions/setup-go@v3
with:
# Keep the following comment to be able to use rc and beta version of Go (ex: 1.18.0-rc.1).
# https://github.com/actions/setup-go#supported-version-syntax
# stable: 'false'
# ex:
# - 1.18beta1 -> 1.18.0-beta.1
# - 1.18rc1 -> 1.18.0-rc.1
# go-version: ${{ env.GO_VERSION }} # todo(ldez) uncomment after the next release v1.48.0
go-version: 1.18
- name: lint
@ -57,9 +59,10 @@ jobs:
- name: Install Go
uses: actions/setup-go@v3
with:
# Keep the following comment to be able to use rc and beta version of Go (ex: 1.18.0-rc.1).
# https://github.com/actions/setup-go#supported-version-syntax
# stable: 'false'
# ex:
# - 1.18beta1 -> 1.18.0-beta.1
# - 1.18rc1 -> 1.18.0-rc.1
go-version: ${{ env.GO_VERSION }} # test only the latest go version to speed up CI
- name: Run tests
run: make.exe test
@ -73,9 +76,10 @@ jobs:
- name: Install Go
uses: actions/setup-go@v3
with:
# Keep the following comment to be able to use rc and beta version of Go (ex: 1.18.0-rc.1).
# https://github.com/actions/setup-go#supported-version-syntax
# stable: 'false'
# ex:
# - 1.18beta1 -> 1.18.0-beta.1
# - 1.18rc1 -> 1.18.0-rc.1
go-version: ${{ env.GO_VERSION }} # test only the latest go version to speed up CI
- name: Run tests
run: make test
@ -93,9 +97,10 @@ jobs:
- name: Install Go
uses: actions/setup-go@v3
with:
# Keep the following comment to be able to use rc and beta version of Go (ex: 1.18.0-rc.1).
# https://github.com/actions/setup-go#supported-version-syntax
# stable: 'false'
# ex:
# - 1.18beta1 -> 1.18.0-beta.1
# - 1.18rc1 -> 1.18.0-rc.1
go-version: ${{ matrix.golang }}
- uses: actions/cache@v3
with:
@ -119,9 +124,10 @@ jobs:
- name: Install Go
uses: actions/setup-go@v3
with:
# Keep the following comment to be able to use rc and beta version of Go (ex: 1.18.0-rc.1).
# https://github.com/actions/setup-go#supported-version-syntax
# stable: 'false'
# ex:
# - 1.18beta1 -> 1.18.0-beta.1
# - 1.18rc1 -> 1.18.0-rc.1
go-version: ${{ env.GO_VERSION }}
- name: Check generated files are up to date
run: make fast_check_generated

View File

@ -14,9 +14,10 @@ jobs:
- name: Install Go
uses: actions/setup-go@v3
with:
# Keep the following comment to be able to use rc and beta version of Go (ex: 1.18.0-rc.1).
# https://github.com/actions/setup-go#supported-version-syntax
# stable: 'false'
# ex:
# - 1.18beta1 -> 1.18.0-beta.1
# - 1.18rc1 -> 1.18.0-rc.1
go-version: 1.19
- name: Unshallow
run: git fetch --prune --unshallow
@ -43,9 +44,10 @@ jobs:
- name: Install Go
uses: actions/setup-go@v3
with:
# Keep the following comment to be able to use rc and beta version of Go (ex: 1.18.0-rc.1).
# https://github.com/actions/setup-go#supported-version-syntax
# stable: 'false'
# ex:
# - 1.18beta1 -> 1.18.0-beta.1
# - 1.18rc1 -> 1.18.0-rc.1
go-version: 1.19
- name: Unshallow