Skip to content

fix: don't loop over rule ID matches (#322) #39

fix: don't loop over rule ID matches (#322)

fix: don't loop over rule ID matches (#322) #39

Workflow file for this run

name: goreleaser
on:
push:
tags:
- '*'
# Declare default permissions as read only.
permissions: read-all
jobs:
goreleaser:
runs-on: ubuntu-latest
permissions:
# https://goreleaser.com/ci/actions/#token-permissions
contents: write
packages: write
steps:
-
name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 0
-
name: Set up QEMU
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3.3.0
-
name: Set up Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: ^1.19
cache: true
-
name: Login to GitHub Container Registry
uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
if: startsWith(github.ref, 'refs/tags/')
with:
version: latest
args: release --clean
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}