Skip to content

Commit

Permalink
gha: use stable/oldstable go versions
Browse files Browse the repository at this point in the history
actions/setup-go supports specifying the latest and latest-1 versions
this way, which is preferable to updating the workflow each time there's
an update. We keep the versions we care about for compatibility
purposes, of course.

Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
  • Loading branch information
cyphar committed Dec 16, 2024
1 parent 2d9831f commit d17d372
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ jobs:
- "1.18"
- "1.20"
- "1.21"
- "1.22"
- "^1"
- "oldstable"
- "stable"
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -98,8 +98,8 @@ jobs:
- "1.18"
- "1.20"
- "1.21"
- "1.22"
- "^1"
- "oldstable"
- "stable"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -133,7 +133,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "^1"
go-version: "stable"
- name: download all coverage
uses: actions/download-artifact@v4
with:
Expand Down

0 comments on commit d17d372

Please sign in to comment.