Skip to content

Merge pull request #137 from OWASP/integrate-goreleaser #1

Merge pull request #137 from OWASP/integrate-goreleaser

Merge pull request #137 from OWASP/integrate-goreleaser #1

Workflow file for this run

name: goreleaser
on:
push:
tags:
- 'v*.*.*'
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: set up Go
uses: actions/setup-go@v3
with:
go-version: 1.23
- name: set up CycloneDX
uses: CycloneDX/gh-gomod-generate-sbom@v2
with:
version: v1
- name: run GoReleaser
uses: goreleaser/goreleaser-action@v6
working-directory: ./src

Check failure on line 33 in .github/workflows/goreleaser.yml

View workflow run for this annotation

GitHub Actions / goreleaser

Invalid workflow file

The workflow is not valid. .github/workflows/goreleaser.yml (Line: 33, Col: 9): Unexpected value 'working-directory'
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.OFFAT_GH_TOKEN }}