Skip to content

chore(deps): update golangci/golangci-lint-action action to v7 (#645) #23

chore(deps): update golangci/golangci-lint-action action to v7 (#645)

chore(deps): update golangci/golangci-lint-action action to v7 (#645) #23

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*.*.*'
jobs:
lint-and-test:
uses: ./.github/workflows/lint_and_test.yml
goreleaser:
runs-on: ubuntu-latest
needs: [lint-and-test]
steps:
- name: Harden Runner
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
with:
go-version-file: 'go.mod'
- name: Login to GitHub Container Registry
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@90a3faa9d0182683851fbfa97ca1a2cb983bfca3 # v6.2.1
with:
version: '~> v2'
args: release --clean
env:
# needed for updating https://github.com/patrickhoefler/homebrew-tap
GITHUB_TOKEN: ${{ secrets.GH_PAT }}