From 1adc8f554e055cef41a9dd1189db8f1a467f2cd3 Mon Sep 17 00:00:00 2001 From: Mohammed Al Sahaf Date: Wed, 28 Aug 2024 01:15:20 +0300 Subject: [PATCH] ci: upgrade to go1.23 Signed-off-by: Mohammed Al Sahaf --- .github/workflows/ci.yml | 3 ++- .github/workflows/lint.yml | 2 +- .github/workflows/release.yml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eb0e664..4adfd59 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a43606a..d7fe4b2 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c51203d..4f62c31 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: os: [ ubuntu-latest ] - go: [ '1.22' ] + go: [ '1.23' ] runs-on: ${{ matrix.os }} steps: