diff --git a/.clomonitor.yml b/.clomonitor.yaml similarity index 100% rename from .clomonitor.yml rename to .clomonitor.yaml diff --git a/.github/dependabot.yml b/.github/dependabot.yaml similarity index 100% rename from .github/dependabot.yml rename to .github/dependabot.yaml diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yaml similarity index 100% rename from .github/workflows/codeql.yml rename to .github/workflows/codeql.yaml diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yaml similarity index 100% rename from .github/workflows/dependency-review.yml rename to .github/workflows/dependency-review.yaml diff --git a/.github/workflows/on-pr-goreleaser.yaml b/.github/workflows/on-pr-goreleaser.yaml new file mode 100644 index 0000000..bce823c --- /dev/null +++ b/.github/workflows/on-pr-goreleaser.yaml @@ -0,0 +1,28 @@ +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@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0 + with: + egress-policy: audit + + - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + + - name: Check GoReleaser config + uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a #v6.4.0 + with: + version: '~> v2' + args: check + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yaml similarity index 100% rename from .github/workflows/scorecard.yml rename to .github/workflows/scorecard.yaml diff --git a/Makefile b/Makefile index de56b9b..da9cea5 100644 --- a/Makefile +++ b/Makefile @@ -61,3 +61,7 @@ lint: lint-docs: @echo "Running lychee" mise x lychee@latest -- lychee --verbose --no-progress '*.md' '*.yaml' '*/*/*.go' --exclude-link-local + +lint-goreleaser: + @echo "Checking goreleaser" + goreleaser check \ No newline at end of file