diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 36e2e04..0fbc8f8 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -13,13 +13,18 @@ jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + go-version: + - 1.23.x + - 1.24.x steps: - uses: actions/checkout@v4 - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.21' + go-version: '${{ matrix.go-version }}' - name: Install dependencies run: go test -coverprofile=coverage.txt ./... diff --git a/Dockerfile b/Dockerfile index 29398fc..66ae01e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # ─────────────────────────────────────────────────────────── # 🌟 STAGE 1: BUILD GO APPLICATION # ─────────────────────────────────────────────────────────── -FROM golang:1.23 AS builder +FROM golang:1.24 AS builder # Accept build arguments ARG SERVER_PORT