Skip to content

Commit

Permalink
github: run code-tests with 1.21 to avoid swagger crash
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
  • Loading branch information
simondeziel committed Feb 14, 2024
1 parent 32d52c3 commit 2124479
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,12 @@ jobs:
path: ${{ steps.ShellCheck.outputs.sarif }}
if: github.event_name == 'pull_request'

- name: Install Go (1.22)
# XXX: using 1.21 to workaround swagger crashing under 1.22
# https://github.com/go-swagger/go-swagger/issues/3070
- name: Install Go (1.21)
uses: actions/setup-go@v5
with:
go-version: 1.22.x
go-version: 1.21.x

- name: Install dependencies
run: |
Expand Down

0 comments on commit 2124479

Please sign in to comment.