From 359d2f076e576f01021b933ccfb955fa9159a9a2 Mon Sep 17 00:00:00 2001 From: Austin Vazquez Date: Tue, 9 Dec 2025 09:32:27 -0600 Subject: [PATCH] ci: use .go-version file for actions/setup-go Signed-off-by: Austin Vazquez --- .github/workflows/ci.yml | 4 ++-- .github/workflows/merge.yml | 2 +- .go-version | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 .go-version diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 39e63e8e3..8d8920b26 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -201,7 +201,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v6 with: - go-version-file: 'go.mod' + go-version-file: '.go-version' check-latest: true cache: true @@ -266,7 +266,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v6 with: - go-version-file: 'go.mod' + go-version-file: '.go-version' check-latest: true - name: Download unit test coverage uses: actions/download-artifact@v4 diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml index 5ffd5b173..1a4650e3d 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -35,7 +35,7 @@ jobs: - uses: actions/setup-go@v6 with: - go-version-file: go.mod + go-version-file: '.go-version' cache: true check-latest: true diff --git a/.go-version b/.go-version new file mode 100644 index 000000000..2cd26087b --- /dev/null +++ b/.go-version @@ -0,0 +1 @@ +1.24.11 \ No newline at end of file