ci: upgrade to go1.23 (#197)

Signed-off-by: Mohammed Al Sahaf <msaa1990@gmail.com>
This commit is contained in:
Mohammed Al Sahaf 2024-08-28 01:29:01 +03:00 committed by GitHub
parent ff8268ac02
commit ff67f855c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 3 deletions

View file

@ -17,7 +17,7 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
go: [ '1.21', '1.22' ]
go: [ '1.22', '1.23' ]
# Set some variables per OS, usable via ${{ matrix.VAR }}
# XCADDY_BIN_PATH: the path to the compiled xcaddy binary, for artifact publishing
@ -84,6 +84,7 @@ jobs:
working-directory: ./cmd/xcaddy
env:
CGO_ENABLED: 0
GOARCH: amd64
run: |
go build -trimpath -ldflags="-w -s" -v

View file

@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22.x'
go-version: '1.23.x'
- name: golangci-lint
uses: golangci/golangci-lint-action@v6

View file

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