From 25b332762b14f2fe3aff93088ed99fb0b08a86a1 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 a4a8f58..ebf78af 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