From be908263e0d1f49bcb5cbc80681ab05dddab4732 Mon Sep 17 00:00:00 2001 From: Andrea Zucchini Date: Tue, 21 Nov 2023 17:28:54 +0000 Subject: [PATCH] test: using stable/oldstable aliases (#282) * test: using stable/oldstable aliases If stable is provided, action will get the latest stable version from the go-versions repository manifest. If oldstable is provided, when current release is 1.19.x, action will resolve version as 1.18.x, where x is the latest patch release. We also want to maintain 1.20 version, so we test it. [#186180915](https://www.pivotaltracker.com/story/show/186180915) * test: update checkout and setup action [#186180915](https://www.pivotaltracker.com/story/show/186180915) --- .github/workflows/run-tests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 0f8fcb33..8166233b 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -15,15 +15,15 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - version: [ '1.20', '1.21' ] + version: [ 'stable', 'oldstable', '1.20' ] name: Go ${{ matrix.version }} outputs: pr_number: ${{ github.event.number }} steps: - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v4 with: go-version: ${{ matrix.version }} - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: make test call-dependabot-pr-workflow: needs: test