ci: Update Go version in CI to 1.21 (#149)

* chore: update Go version in CI

Co-authored-by: RadhaKrishna <radha.peteti@appdynamics.com>
This commit is contained in:
P. Radha Krishna 2023-08-12 15:53:10 +05:30 committed by GitHub
parent 4227917de2
commit 54de4e334a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -17,7 +17,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.19', '1.20' ] go: [ '1.20', '1.21' ]
# Set some variables per OS, usable via ${{ matrix.VAR }} # Set some variables per OS, usable via ${{ matrix.VAR }}
# XCADDY_BIN_PATH: the path to the compiled xcaddy binary, for artifact publishing # XCADDY_BIN_PATH: the path to the compiled xcaddy binary, for artifact publishing

View file

@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-go@v4 - uses: actions/setup-go@v4
with: with:
go-version: '~1.20' go-version: '1.21.x'
- name: golangci-lint - name: golangci-lint
uses: golangci/golangci-lint-action@v3 uses: golangci/golangci-lint-action@v3

View file

@ -11,7 +11,7 @@ jobs:
strategy: strategy:
matrix: matrix:
os: [ ubuntu-latest ] os: [ ubuntu-latest ]
go: [ '1.20' ] go: [ '1.21' ]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps: