diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index 5ca24fb..d09e75d 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -8,19 +8,18 @@ on: jobs: goreleaser: runs-on: ubuntu-latest + strategy: + matrix: + go-version: [ '1.20' ] + steps: - - - name: Checkout - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - - name: Set up Go - uses: actions/setup-go@v2 + - name: Setup Golang ${{ matrix.go-version }} + uses: actions/setup-go@v4 with: - go-version: 1.20 - - - name: Run GoReleaser + go-version: ${{ matrix.go-version }} + - name: Checkout + uses: actions/checkout@v3 + - name: Run GoReleaser uses: goreleaser/goreleaser-action@v5 with: version: latest