Skip to content

Commit

Permalink
Merge pull request #2183 from Shopify/dnwe/housekeeping
Browse files Browse the repository at this point in the history
chore(ci): bump along to Go 1.17+1.18 and bump golangci-lint
  • Loading branch information
dnwe committed Mar 21, 2022
2 parents bad67e5 + 81bb5dd commit 27b8f1b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 15 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: [1.16.x, 1.17.x]
go-version: [1.17.x, 1.18.x]
kafka-version: [2.8.1, 3.0.0, 3.1.0]
platform: [ubuntu-latest]

Expand All @@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@v2

- name: Setup Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}

Expand All @@ -48,16 +48,16 @@ jobs:
- name: Lint
uses: golangci/golangci-lint-action@v2
if: ${{ matrix.go-version == '1.17.x' }}
if: ${{ matrix.go-version == '1.18.x' }}
env:
GOFLAGS: -tags=functional
with:
version: v1.44.0
version: v1.45.0

- name: Test (Unit)
run: make test
if: ${{ matrix.go-version != '1.17.x' }}
if: ${{ matrix.go-version != '1.18.x' }}

- name: Test (Functional)
run: make test_functional
if: ${{ matrix.go-version == '1.17.x' }}
if: ${{ matrix.go-version == '1.18.x' }}
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:
with:
languages: ${{ matrix.language }}

- name: Set up Go 1.16
uses: actions/setup-go@v2
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: 1.16
go-version: 1.17

- name: Autobuild
uses: github/codeql-action/autobuild@v1
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/fuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
- uses: actions/checkout@v2

- name: Setup Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.17.x
go-version: 1.18.x

- name: Get Go environment
id: go-env
Expand All @@ -38,8 +38,5 @@ jobs:
restore-keys: |
fuzz-go-
- name: Build Go tip
run: go install golang.org/dl/gotip@latest && gotip download

- name: Run any fuzzing tests
run: gotip test -v -run=^Fuzz -test.fuzztime=5m ./...
run: go test -v -run=^Fuzz -test.fuzztime=5m ./...

0 comments on commit 27b8f1b

Please sign in to comment.