diff --git a/.github/workflows/post-release.yml b/.github/workflows/post-release.yml index 91da23b43b00..d00c7a095cfd 100644 --- a/.github/workflows/post-release.yml +++ b/.github/workflows/post-release.yml @@ -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 diff --git a/.github/workflows/pr-extra.yml b/.github/workflows/pr-extra.yml index 1552d4ea194e..2b3016ab5d3d 100644 --- a/.github/workflows/pr-extra.yml +++ b/.github/workflows/pr-extra.yml @@ -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 diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index cd3ea3b151f0..b067e7644034 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -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 diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index b31c82bbdf73..c2bb3e6c6047 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -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