Skip to content

Merge pull request #205 from CycloneDX/dependabot/go_modules/github.c… #16

Merge pull request #205 from CycloneDX/dependabot/go_modules/github.c…

Merge pull request #205 from CycloneDX/dependabot/go_modules/github.c… #16

Workflow file for this run

name: GoReleaser
on:
push:
tags:
- 'v*'
permissions: { }
jobs:
goreleaser:
name: Release
timeout-minutes: 5
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout Repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4.2.2
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # tag=v5.2.0
with:
go-version: "1.22"
check-latest: true
- name: Install cyclonedx-gomod
uses: CycloneDX/gh-gomod-generate-sbom@efc74245d6802c8cefd925620515442756c70d8f # tag=v2.0.0
with:
version: v1
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@9ed2f89a662bf1735a48bc8557fd212fa902bebf # tag=v6.1.0
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}