From aabf326ee036d6c685909ad7790d8219a19ff2e7 Mon Sep 17 00:00:00 2001 From: Chris Gavin Date: Tue, 4 Mar 2025 15:32:47 +0000 Subject: [PATCH] Update Go to 1.24.0. --- .github/workflows/ci.yml | 10 +++++----- .github/workflows/release.yml | 2 +- go.mod | 4 +--- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9d4b608..a6cc393 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: 1.21.6 + go-version-file: ./go.mod - name: Install Pkger run: go install --mod=readonly github.com/markbates/pkger/cmd/pkger - name: Build @@ -37,7 +37,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: 1.21.6 + go-version-file: ./go.mod - name: Test run: go test ./... @@ -51,7 +51,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: 1.21.6 + go-version-file: ./go.mod - name: Build run: go build - name: Test @@ -68,7 +68,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: 1.21.6 + go-version-file: ./go.mod - name: Check Modules run: | go mod tidy @@ -90,7 +90,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: 1.21.6 + go-version-file: ./go.mod - name: Setup licensedci uses: jonabc/setup-licensed@v1 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0b97fc4..da41fcf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: 1.21.6 + go-version-file: ./go.mod - name: Install Pkger run: go install --mod=readonly github.com/markbates/pkger/cmd/pkger - name: Release diff --git a/go.mod b/go.mod index 493014a..8cd5d66 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,6 @@ module github.com/github/codeql-action-sync -go 1.21 - -toolchain go1.23.4 +go 1.24.0 require ( github.com/go-git/go-git/v5 v5.13.2