use stable instead of 1.20

This commit is contained in:
Pavel 2023-01-09 15:57:53 +03:00
parent 0e7621f270
commit 2b72dc948f

View File

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