github.com/terraform-linters/tflint-ruleset-azurerm@v0.26.0/.github/workflows/release.yml (about) 1 name: release 2 3 on: 4 push: 5 branches: 6 - '!*' 7 tags: 8 - v*.*.* 9 10 permissions: 11 contents: write 12 id-token: write 13 14 jobs: 15 goreleaser: 16 runs-on: ubuntu-latest 17 steps: 18 - name: Checkout 19 uses: actions/checkout@v4 20 with: 21 fetch-depth: 0 22 - name: Set up Go 23 uses: actions/setup-go@v5 24 with: 25 go-version-file: 'go.mod' 26 - name: Install Cosign 27 uses: sigstore/cosign-installer@v3 28 - name: Run GoReleaser 29 uses: goreleaser/goreleaser-action@v5 30 with: 31 version: v1.12.3 32 args: release --rm-dist 33 env: 34 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}