Update Go version used for linting

This commit is contained in:
Tulir Asokan 2023-04-04 22:30:52 +03:00
parent 22900d8f8a
commit 373139c7bf

View File

@ -5,17 +5,13 @@ on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go-version: [1.19]
steps:
- uses: actions/checkout@v3
- name: Set up Go ${{ matrix.go-version }}
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
go-version: "1.20"
- name: Install goimports
run: |
@ -33,7 +29,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: [1.18, 1.19]
go-version: ["1.18", "1.19", "1.20"]
steps:
- uses: actions/checkout@v3