mirror of
https://github.com/kubereboot/kured.git
synced 2026-08-23 21:36:33 +00:00
28 lines
761 B
YAML
28 lines
761 B
YAML
name: Verify GoReleaser config
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- '.config/goreleaser.yaml'
|
|
push:
|
|
paths:
|
|
- '.config/goreleaser.yaml'
|
|
|
|
jobs:
|
|
check-goreleaser-config:
|
|
name: Check GoReleaser config
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Harden Runner
|
|
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
|
|
with:
|
|
egress-policy: audit
|
|
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
|
- name: Check GoReleaser config
|
|
uses: goreleaser/goreleaser-action@f06c13b6b1a9625abc9e6e439d9c05a8f2190e94 #v7.2.3
|
|
with:
|
|
version: '~> v2'
|
|
args: check
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |