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