ci: add Go 1.20 to build matrix

Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
This commit is contained in:
Mark Sagi-Kazar 2023-02-05 18:14:57 +01:00 committed by Márk Sági-Kazár
parent e2cc9031b5
commit 59fe4dbc92
1 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@ jobs:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v4 uses: actions/setup-go@v4
with: with:
go-version: 1.19 go-version: '1.20'
- name: Checkout code - name: Checkout code
uses: actions/checkout@v3 uses: actions/checkout@v3
@ -43,7 +43,7 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ubuntu-latest, macos-latest, windows-latest] os: [ubuntu-latest, macos-latest, windows-latest]
go: ['1.17', '1.18', '1.19'] go: ['1.17', '1.18', '1.19', '1.20']
env: env:
GOFLAGS: -mod=readonly GOFLAGS: -mod=readonly
@ -74,7 +74,7 @@ jobs:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v4 uses: actions/setup-go@v4
with: with:
go-version: 1.19 go-version: '1.20'
- name: Checkout code - name: Checkout code
uses: actions/checkout@v3 uses: actions/checkout@v3
@ -82,4 +82,4 @@ jobs:
- name: Lint - name: Lint
uses: golangci/golangci-lint-action@v3 uses: golangci/golangci-lint-action@v3
with: with:
version: v1.50.1 version: v1.51.1