From ea0e98df8420c4337f12c1319415695cb732761a Mon Sep 17 00:00:00 2001 From: wata_mac Date: Thu, 18 Aug 2022 22:42:51 +0900 Subject: [PATCH] Use `go-version-file` instead of `go-version` --- .github/workflows/build.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cb5eec0..2d3fba3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,7 +23,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.19 + go-version-file: 'go.mod' - name: Run tests run: make test - name: Run build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c6b2044..952667a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.19 + go-version-file: 'go.mod' - name: Import GPG key id: import_gpg uses: crazy-max/ghaction-import-gpg@v5