ci: bump goreleaser to version 2

Signed-off-by: Dharsan Baskar <git@dharsanb.com>
This commit is contained in:
Dharsan Baskar
2025-10-09 10:06:55 +05:30
parent ca75f7df31
commit f82a42e41f
5 changed files with 37 additions and 6 deletions

26
.github/workflows/on-pr-goreleaser.yaml vendored Normal file
View File

@@ -0,0 +1,26 @@
name: Verify GoReleaser config
on:
pull_request:
paths:
- '.config/goreleaser.yml'
push:
paths:
- '.config/goreleaser.yml'
jobs:
check-goreleaser-config:
name: Check GoReleaser config
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
with:
egress-policy: audit
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Check GoReleaser config
uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a #v6.4.0
with:
version: 'v2.12.5'
args: check