From 2cf285c75c907b9a9ea57eb853e1eca62213d219 Mon Sep 17 00:00:00 2001 From: Simone Basso Date: Sat, 1 Mar 2025 09:39:30 +0100 Subject: [PATCH] chore: add go1.24 to the build matrix --- .github/workflows/go.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 8e4f43b..7eb3835 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -5,12 +5,11 @@ name: Go on: push: - branches: [ "main" ] + branches: ["main"] pull_request: - branches: [ "main" ] + branches: ["main"] jobs: - build: strategy: matrix: @@ -18,18 +17,19 @@ jobs: # The first entry of the matrix should be the # version indicated inside the `go.mod` - "1.23" + - "1.24" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4 - - name: Set up Go - uses: actions/setup-go@v5 - with: - go-version: "${{ matrix.goversion }}" + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: "${{ matrix.goversion }}" - - name: Build - run: go build ./... + - name: Build + run: go build ./... - - name: Test - run: go test -race -cover ./... + - name: Test + run: go test -race -cover ./...