diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index c1aed86..b888bbf 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -13,6 +13,8 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 + with: + go-version: '1.21' - name: Fetch dependencies run: go mod download diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b351073..c793f98 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -12,16 +12,17 @@ jobs: goreleaser: runs-on: ubuntu-latest steps: - - - name: Checkout + - name: Checkout uses: actions/checkout@v4 with: fetch-depth: 0 - - - name: Set up Go + + - name: Set up Go uses: actions/setup-go@v4 - - - name: Run GoReleaser + with: + go-version: '1.21' + + - name: Run GoReleaser uses: goreleaser/goreleaser-action@v5 with: distribution: goreleaser