Skip to content

Commit

Permalink
Stick with go <1.19
Browse files Browse the repository at this point in the history
Go 1.19 has different rules in `gofmt` and may lead to
broken CI builds.

Signed-off-by: Andrea Panattoni <apanatto@redhat.com>
  • Loading branch information
zeeke committed Aug 18, 2022
1 parent ca051bc commit d26b20c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Set up Go 1.18
uses: actions/setup-go@v3
with:
go-version: '>=1.18.2'
go-version: '>=1.18.2 <1.19'

- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand All @@ -31,7 +31,7 @@ jobs:
- name: Set up Go 1.18
uses: actions/setup-go@v2
with:
go-version: 1.18.2
go-version: '>=1.18.2 <1.19'

- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand All @@ -52,7 +52,7 @@ jobs:
- name: Set up Go 1.18
uses: actions/setup-go@v2
with:
go-version: 1.18.2
go-version: '>=1.18.2 <1.19'
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: golangci-lint
Expand All @@ -69,7 +69,7 @@ jobs:
- name: Set up Go 1.18
uses: actions/setup-go@v2
with:
go-version: 1.18.2
go-version: '>=1.18.2 <1.19'

- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand Down

0 comments on commit d26b20c

Please sign in to comment.