From 03bce5c5fd0d7c125a871031ecf50aa14d088f08 Mon Sep 17 00:00:00 2001 From: Dimitri Koshkin Date: Tue, 22 Oct 2024 11:55:17 -0700 Subject: [PATCH] build: use Go version from go.mod --- .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 66c9ecd..4db1a7c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,7 @@ jobs: name: Set up Go uses: actions/setup-go@v5 with: - go-version: "1.21" + go-version-file: go.mod # if tag release - diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4732093..94dbe30 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/setup-go@v5 with: - go-version: '1.21' + go-version-file: go.mod cache: false - name: go get