update test matrix

This commit is contained in:
Pavel 2023-01-09 15:54:05 +03:00
parent 6d1ce327e7
commit 97617f535d

View File

@ -19,11 +19,10 @@ jobs:
steps: steps:
- name: Check out code into the Go module directory - name: Check out code into the Go module directory
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Set up Go 1.17 - name: Set up Go 1.20
uses: actions/setup-go@v2 uses: actions/setup-go@v2
with: with:
# TODO: Should migrate to 1.18 later go-version: '1.20'
go-version: '1.17'
- name: Get dependencies - name: Get dependencies
run: go mod tidy run: go mod tidy
- name: Lint code with golangci-lint - name: Lint code with golangci-lint
@ -36,7 +35,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
go-version: ['1.16', '1.17', '1.18'] go-version: ['1.18', '1.19', '1.20']
steps: steps:
- name: Set up Go ${{ matrix.go-version }} - name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v2 uses: actions/setup-go@v2