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