Skip to content

Commit

Permalink
test: using stable/oldstable aliases (#282)
Browse files Browse the repository at this point in the history
* 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)
  • Loading branch information
zucchinidev authored Nov 21, 2023
1 parent 13faaf9 commit be90826
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit be90826

Please sign in to comment.