Skip to content

Commit

Permalink
ci: upgrade to go1.23 (#197)
Browse files Browse the repository at this point in the history
Signed-off-by: Mohammed Al Sahaf <[email protected]>
  • Loading branch information
mohammed90 authored Aug 27, 2024
1 parent ff8268a commit ff67f85
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -84,6 +84,7 @@ jobs:
working-directory: ./cmd/xcaddy
env:
CGO_ENABLED: 0
GOARCH: amd64
run: |
go build -trimpath -ldflags="-w -s" -v
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest ]
go: [ '1.22' ]
go: [ '1.23' ]
runs-on: ${{ matrix.os }}

steps:
Expand Down

0 comments on commit ff67f85

Please sign in to comment.