This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) | action | major | `v6` → `v7` | --- ### Release Notes <details> <summary>goreleaser/goreleaser-action (goreleaser/goreleaser-action)</summary> ### [`v7.2.1`](https://github.com/goreleaser/goreleaser-action/releases/tag/v7.2.1) [Compare Source](https://github.com/goreleaser/goreleaser-action/compare/v7.2.0...v7.2.1) This fully removes the usage of the old `nightly` moving tag. **Full Changelog**: <https://github.com/goreleaser/goreleaser-action/compare/v7.2.0...v7.2.1> ### [`v7.2.0`](https://github.com/goreleaser/goreleaser-action/releases/tag/v7.2.0) [Compare Source](https://github.com/goreleaser/goreleaser-action/compare/v7.1.0...v7.2.0) #### What's Changed - test: cover install across release eras by [@​caarlos0](https://github.com/caarlos0) in [#​555](https://github.com/goreleaser/goreleaser-action/pull/555) - feat: add `version-file` input by [@​caarlos0](https://github.com/caarlos0) in [#​556](https://github.com/goreleaser/goreleaser-action/pull/556) - feat: resolve nightly to latest vX.Y.Z-<sha>-nightly release by [@​caarlos0](https://github.com/caarlos0) in [#​558](https://github.com/goreleaser/goreleaser-action/pull/558) **Full Changelog**: <https://github.com/goreleaser/goreleaser-action/compare/v7...v7.2.0> ### [`v7.1.0`](https://github.com/goreleaser/goreleaser-action/releases/tag/v7.1.0) [Compare Source](https://github.com/goreleaser/goreleaser-action/compare/v7...v7.1.0) #### What's Changed - feat: verify release checksum and cosign signature by [@​caarlos0](https://github.com/caarlos0) in [#​550](https://github.com/goreleaser/goreleaser-action/pull/550) - docs: document cosign verification in README by [@​caarlos0](https://github.com/caarlos0) in [#​553](https://github.com/goreleaser/goreleaser-action/pull/553) - docs: Upgrade import GPG action version by [@​flecno](https://github.com/flecno) in [#​547](https://github.com/goreleaser/goreleaser-action/pull/547) - ci: drop docker-bake in favor of plain npm by [@​caarlos0](https://github.com/caarlos0) in [#​551](https://github.com/goreleaser/goreleaser-action/pull/551) - ci: add release-major-tag workflow by [@​caarlos0](https://github.com/caarlos0) in [#​552](https://github.com/goreleaser/goreleaser-action/pull/552) - ci: drop pre-cosign-v3 goreleaser versions from tests by [@​caarlos0](https://github.com/caarlos0) in [#​554](https://github.com/goreleaser/goreleaser-action/pull/554) - ci(deps): bump the actions group with 2 updates by [@​dependabot](https://github.com/dependabot)\[bot] in [#​543](https://github.com/goreleaser/goreleaser-action/pull/543) - ci(deps): bump the actions group with 5 updates by [@​dependabot](https://github.com/dependabot)\[bot] in [#​546](https://github.com/goreleaser/goreleaser-action/pull/546) - chore(deps): bump undici from 6.23.0 to 6.24.1 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​545](https://github.com/goreleaser/goreleaser-action/pull/545) #### New Contributors - [@​flecno](https://github.com/flecno) made their first contribution in [#​547](https://github.com/goreleaser/goreleaser-action/pull/547) **Full Changelog**: <https://github.com/goreleaser/goreleaser-action/compare/v7...v7.1.0> ### [`v7.0.0`](https://github.com/goreleaser/goreleaser-action/releases/tag/v7.0.0) [Compare Source](https://github.com/goreleaser/goreleaser-action/compare/v7...v7) #### What's Changed - feat!: node 24, update deps, rm yarn, ESM by [@​caarlos0](https://github.com/caarlos0) in [#​533](https://github.com/goreleaser/goreleaser-action/pull/533) - sec: pin github action versions by [@​caarlos0](https://github.com/caarlos0) in [#​514](https://github.com/goreleaser/goreleaser-action/pull/514) - docs: Upgrade checkout GitHub Action in README.md by [@​dunglas](https://github.com/dunglas) in [#​507](https://github.com/goreleaser/goreleaser-action/pull/507) - chore(deps): bump actions/checkout from 4 to 5 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​504](https://github.com/goreleaser/goreleaser-action/pull/504) - ci(deps): bump the actions group with 2 updates by [@​dependabot](https://github.com/dependabot)\[bot] in [#​517](https://github.com/goreleaser/goreleaser-action/pull/517) - ci(deps): bump the actions group with 2 updates by [@​dependabot](https://github.com/dependabot)\[bot] in [#​523](https://github.com/goreleaser/goreleaser-action/pull/523) - ci(deps): bump docker/bake-action from 6.9.0 to 6.10.0 in the actions group by [@​dependabot](https://github.com/dependabot)\[bot] in [#​526](https://github.com/goreleaser/goreleaser-action/pull/526) - ci(deps): bump the actions group across 1 directory with 4 updates by [@​dependabot](https://github.com/dependabot)\[bot] in [#​532](https://github.com/goreleaser/goreleaser-action/pull/532) - ci(deps): bump actions/checkout from 6.0.1 to 6.0.2 in the actions group by [@​dependabot](https://github.com/dependabot)\[bot] in [#​534](https://github.com/goreleaser/goreleaser-action/pull/534) - chore(deps): bump the npm group across 1 directory with 4 updates by [@​dependabot](https://github.com/dependabot)\[bot] in [#​536](https://github.com/goreleaser/goreleaser-action/pull/536) - chore(deps): bump [@​actions/http-client](https://github.com/actions/http-client) from 3.0.2 to 4.0.0 in the npm group by [@​dependabot](https://github.com/dependabot)\[bot] in [#​537](https://github.com/goreleaser/goreleaser-action/pull/537) - ci(deps): bump docker/setup-buildx-action from 3.10.0 to 3.12.0 in the actions group by [@​dependabot](https://github.com/dependabot)\[bot] in [#​538](https://github.com/goreleaser/goreleaser-action/pull/538) - chore(deps): bump semver from 7.7.3 to 7.7.4 in the npm group by [@​dependabot](https://github.com/dependabot)\[bot] in [#​539](https://github.com/goreleaser/goreleaser-action/pull/539) **Full Changelog**: <https://github.com/goreleaser/goreleaser-action/compare/v6...v7.0.0> ### [`v7`](https://github.com/goreleaser/goreleaser-action/compare/v6.4.0...v7) [Compare Source](https://github.com/goreleaser/goreleaser-action/compare/v6.4.0...v7) ### [`v6.4.0`](https://github.com/goreleaser/goreleaser-action/releases/tag/v6.4.0) [Compare Source](https://github.com/goreleaser/goreleaser-action/compare/v6.3.0...v6.4.0) #### What's Changed - ci: set contents read as default workflow permissions by [@​crazy-max](https://github.com/crazy-max) in [#​494](https://github.com/goreleaser/goreleaser-action/pull/494) - fix: support .config directory for goreleaser config files by [@​haya14busa](https://github.com/haya14busa) in [#​500](https://github.com/goreleaser/goreleaser-action/pull/500) - chore(deps): bump semver from 7.7.1 to 7.7.2 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​495](https://github.com/goreleaser/goreleaser-action/pull/495) - chore(deps): bump brace-expansion from 1.1.11 to 1.1.12 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​498](https://github.com/goreleaser/goreleaser-action/pull/498) - fix: do not get releases.json if version is specific by [@​caarlos0](https://github.com/caarlos0) in [#​502](https://github.com/goreleaser/goreleaser-action/pull/502) - chore(deps): bump undici from 5.28.5 to 5.29.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​496](https://github.com/goreleaser/goreleaser-action/pull/496) - feat: retry downloading releases json by [@​caarlos0](https://github.com/caarlos0) in [#​503](https://github.com/goreleaser/goreleaser-action/pull/503) #### New Contributors - [@​haya14busa](https://github.com/haya14busa) made their first contribution in [#​500](https://github.com/goreleaser/goreleaser-action/pull/500) **Full Changelog**: <https://github.com/goreleaser/goreleaser-action/compare/v6.3.0...v6.4.0> ### [`v6.3.0`](https://github.com/goreleaser/goreleaser-action/releases/tag/v6.3.0) [Compare Source](https://github.com/goreleaser/goreleaser-action/compare/v6.2.1...v6.3.0) - Bump undici from 5.28.3 to 5.28.5 in [#​488](https://github.com/goreleaser/goreleaser-action/pull/488) **Full Changelog**: <https://github.com/goreleaser/goreleaser-action/compare/v6.2.1...v6.3.0> ### [`v6.2.1`](https://github.com/goreleaser/goreleaser-action/releases/tag/v6.2.1) [Compare Source](https://github.com/goreleaser/goreleaser-action/compare/v6.2.0...v6.2.1) #### What's Changed This version of the actions adds support for GoReleaser Pro v2.7.0 versioning (which dropped the `-pro` suffix). Older versions should work fine. > \[!WARNING] > This version is **required** for GoReleaser Pro v2.7.0+. > Read more [here](https://goreleaser.com/blog/goreleaser-v2.7/). **Full Changelog**: <https://github.com/goreleaser/goreleaser-action/compare/v6.2.0...v6.2.1> ### [`v6.2.0`](https://github.com/goreleaser/goreleaser-action/releases/tag/v6.2.0) [Compare Source](https://github.com/goreleaser/goreleaser-action/compare/v6.1.0...v6.2.0) #### What's Changed This version of the actions adds support for GoReleaser Pro v2.7.0 versioning (which dropped the `-pro` suffix). Older versions should work fine. > \[!WARNING] > This version is **required** for GoReleaser Pro v2.7.0+. > Read more [here](https://goreleaser.com/blog/goreleaser-v2.7/). **Full Changelog**: <https://github.com/goreleaser/goreleaser-action/compare/v6.1.0...v6.2.0> ### [`v6.1.0`](https://github.com/goreleaser/goreleaser-action/releases/tag/v6.1.0) [Compare Source](https://github.com/goreleaser/goreleaser-action/compare/v6...v6.1.0) #### What's Changed - chore(deps): bump braces from 3.0.2 to 3.0.3 by [@​dependabot](https://github.com/dependabot) in [#​467](https://github.com/goreleaser/goreleaser-action/pull/467) - chore(deps): bump docker/bake-action from 4 to 5 by [@​dependabot](https://github.com/dependabot) in [#​468](https://github.com/goreleaser/goreleaser-action/pull/468) - chore(deps): bump semver from 7.6.2 to 7.6.3 by [@​dependabot](https://github.com/dependabot) in [#​470](https://github.com/goreleaser/goreleaser-action/pull/470) - chore(deps): bump [@​actions/http-client](https://github.com/actions/http-client) from 2.2.1 to 2.2.2 by [@​dependabot](https://github.com/dependabot) in [#​473](https://github.com/goreleaser/goreleaser-action/pull/473) - chore(deps): bump [@​actions/http-client](https://github.com/actions/http-client) from 2.2.2 to 2.2.3 by [@​dependabot](https://github.com/dependabot) in [#​474](https://github.com/goreleaser/goreleaser-action/pull/474) - chore(deps): bump micromatch from 4.0.5 to 4.0.8 by [@​dependabot](https://github.com/dependabot) in [#​475](https://github.com/goreleaser/goreleaser-action/pull/475) - chore(deps): bump [@​actions/core](https://github.com/actions/core) from 1.10.1 to 1.11.1 by [@​dependabot](https://github.com/dependabot) in [#​478](https://github.com/goreleaser/goreleaser-action/pull/478) - docs: bump upload-artifact version by [@​dunglas](https://github.com/dunglas) in [#​479](https://github.com/goreleaser/goreleaser-action/pull/479) - chore: update generated content by [@​crazy-max](https://github.com/crazy-max) in [#​480](https://github.com/goreleaser/goreleaser-action/pull/480) #### New Contributors - [@​dunglas](https://github.com/dunglas) made their first contribution in [#​479](https://github.com/goreleaser/goreleaser-action/pull/479) **Full Changelog**: <https://github.com/goreleaser/goreleaser-action/compare/v6.0.0...v6.1.0> </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNjUuMiIsInVwZGF0ZWRJblZlciI6IjQzLjE2NS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Reviewed-on: #2
56 lines
1.4 KiB
YAML
56 lines
1.4 KiB
YAML
---
|
|
name: "release"
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- "*"
|
|
|
|
jobs:
|
|
release:
|
|
name: "release"
|
|
runs-on: "ubuntu-latest"
|
|
steps:
|
|
|
|
# checkout repo
|
|
- name: "checkout"
|
|
uses: "actions/checkout@v6"
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
# setup go
|
|
- name: "set up go"
|
|
uses: "actions/setup-go@v6"
|
|
with:
|
|
go-version: "stable"
|
|
|
|
# install syft
|
|
- name: "install syft"
|
|
uses: "anchore/sbom-action/download-syft@v0"
|
|
|
|
# run goreleaser
|
|
- name: "run goreleaser"
|
|
uses: "goreleaser/goreleaser-action@v7"
|
|
with:
|
|
version: "v2.8.2"
|
|
args: "release --clean --config ./.github/.goreleaser.yaml"
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }}
|
|
|
|
# generate sbom
|
|
- name: "generate sbom"
|
|
run: |
|
|
APP_NAME="gogitlabber"
|
|
VERSION=${GITHUB_REF#refs/tags/}
|
|
syft go.mod -o spdx-json=${APP_NAME}-${VERSION}-sbom.spdx.json
|
|
syft go.mod -o cyclonedx-json=${APP_NAME}-${VERSION}-sbom.cyclonedx.json
|
|
|
|
# upload sbom to release
|
|
- name: "upload sbom to release"
|
|
uses: "softprops/action-gh-release@v3"
|
|
with:
|
|
files: |
|
|
gogitlabber-*-sbom.spdx.json
|
|
gogitlabber-*-sbom.cyclonedx.json
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }}
|