From 6e95a141e7a4719094e13cf5bb7e9701246b36d6 Mon Sep 17 00:00:00 2001 From: k1LoW Date: Fri, 12 May 2023 09:46:19 +0900 Subject: [PATCH] Fix --- .github/workflows/ci.yml | 4 ++-- .github/workflows/tagpr.yml | 18 ++++++++++++------ 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7aef2b3..687d2bb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,8 +14,8 @@ jobs: - name: Check out source code uses: actions/checkout@v3 - - name: Set up Go ${{ matrix.go_version }} - uses: actions/setup-go@v3 + - name: Set up Go + uses: actions/setup-go@v4 with: go-version-file: go.mod diff --git a/.github/workflows/tagpr.yml b/.github/workflows/tagpr.yml index a217daa..28053ae 100644 --- a/.github/workflows/tagpr.yml +++ b/.github/workflows/tagpr.yml @@ -15,6 +15,11 @@ jobs: - name: Check out source code uses: actions/checkout@v3 + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version-file: go.mod + - id: run-tagpr name: Run tagpr uses: Songmu/tagpr@v1 @@ -31,12 +36,13 @@ jobs: with: fetch-depth: 0 + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version-file: go.mod + - name: Setup - run: | - brew uninstall go@1.17 - brew install go - brew install goreleaser + run: brew install goreleaser - name: Release - run: | - make release + run: make release