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