Commit Graph
63 Commits
Author SHA1 Message Date
be2e8a39ba docs: document cosign verification in README (#553)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-18 15:24:42 -03:00
5e53f8eea2 ci: add release-major-tag workflow (#552)
* build: drop docker-bake in favor of plain npm

Every TypeScript action maintained by actions/* (checkout, setup-node,
setup-go, cache, upload-artifact) uses plain npm scripts. The bake
setup is a docker/* org convention and adds friction for TS work:
contributors need Docker, the dev loop is ~10x slower than npm, and
Alpine-vs-host byte drift in dist/index.js makes PRs bounce.

Replace with the standard pattern:
- .node-version pins Node 24 so contributors and CI agree
- npm scripts (build, lint, format, test, pre-checkin) replace bake
  targets one-for-one
- validate.yml runs lint + a check-dist diff (mirrors actions/setup-node)
  and a vendor check that npm install --package-lock-only is a no-op
- test.yml uses setup-node + sigstore/cosign-installer, drops bake-action
- dependabot-build.yml regenerates dist via npm instead of bake

CONTRIBUTING.md and README development section updated to match.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* build: align scripts and workflows with actions/* convention

Match the standard layout used by actions/checkout, actions/setup-node,
etc.:

- package.json scripts: split format/format-check (Prettier) from
  lint/lint:fix (ESLint), and have pre-checkin run all four (format,
  lint:fix, build, test) in that order.
- validate.yml lint job runs format-check + lint as separate steps.
- test.yml drops the redundant --coverage flag (now in the test script).
- Drop dependabot-build.yml: actions/* don't auto-rebuild dist on
  dependabot PRs; the check-dist style validate / build job catches
  drift and a maintainer rebuilds locally if needed.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* ci: add release-major-tag workflow

Adopts the actions/checkout pattern (workflow_dispatch with target +
major_version inputs that force-pushes the major tag). Doubles as a
rollback tool. Documented in CONTRIBUTING under a 'Releasing' section.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* ci: drop irrelevant pin comment from release-major-tag

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-18 15:23:21 -03:00
4068afa2f0 build: drop docker-bake in favor of plain npm (#551)
* build: drop docker-bake in favor of plain npm

Every TypeScript action maintained by actions/* (checkout, setup-node,
setup-go, cache, upload-artifact) uses plain npm scripts. The bake
setup is a docker/* org convention and adds friction for TS work:
contributors need Docker, the dev loop is ~10x slower than npm, and
Alpine-vs-host byte drift in dist/index.js makes PRs bounce.

Replace with the standard pattern:
- .node-version pins Node 24 so contributors and CI agree
- npm scripts (build, lint, format, test, pre-checkin) replace bake
  targets one-for-one
- validate.yml runs lint + a check-dist diff (mirrors actions/setup-node)
  and a vendor check that npm install --package-lock-only is a no-op
- test.yml uses setup-node + sigstore/cosign-installer, drops bake-action
- dependabot-build.yml regenerates dist via npm instead of bake

CONTRIBUTING.md and README development section updated to match.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* build: align scripts and workflows with actions/* convention

Match the standard layout used by actions/checkout, actions/setup-node,
etc.:

- package.json scripts: split format/format-check (Prettier) from
  lint/lint:fix (ESLint), and have pre-checkin run all four (format,
  lint:fix, build, test) in that order.
- validate.yml lint job runs format-check + lint as separate steps.
- test.yml drops the redundant --coverage flag (now in the test script).
- Drop dependabot-build.yml: actions/* don't auto-rebuild dist on
  dependabot PRs; the check-dist style validate / build job catches
  drift and a maintainer rebuilds locally if needed.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-18 15:22:23 -03:00
Carlos Alexandro BeckerandCopilot 213ec80f56 docs: add CONTRIBUTING with pre-commit workflow
Document the docker buildx bake pre-checkin / test / validate sequence
contributors need before pushing, and call out the Alpine-built dist/
gotcha so PRs don't bounce on build-validate.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-18 14:36:59 -03:00
4b462d3d1d feat: verify release checksum and cosign signature (#550)
* feat: verify release checksum and cosign signature

Download checksums.txt for the release and verify the SHA-256 of the
downloaded archive against it. When cosign is available in PATH, also
download checksums.txt.sigstore.json and verify the signature against
the goreleaser/goreleaser-pro release workflow identity. Both steps
degrade gracefully (with a warning) when the corresponding artifacts
or tooling are missing.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* test: use install() for checksum e2e tests

Drop the http-client download helper from verifyChecksum integration
tests; call goreleaser.install() instead so the test exercises the
public API path and avoids duplicating download logic.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-18 14:34:46 -03:00
Carlos Alexandro Becker fdcf0b9df9 clean: leftover files from node 22(?)
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2026-03-22 23:46:39 -03:00
Carlos Alexandro Becker 9881cc5376 fix: use new static URL
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2026-03-22 23:43:18 -03:00
Carlos Alexandro Becker 07f3f34e99 chore: update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2026-03-22 23:20:07 -03:00
Carlos Alexandro Becker 6c92f1d350 fix: bake vendor
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2026-02-22 20:54:03 -03:00
Carlos Alexandro BeckerandGitHub ff4cb9c029 docs: update 2026-02-22 00:08:30 -03:00
Carlos Alexandro Becker ec59f474b9 fix: yargs usage
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2026-02-09 09:21:42 -03:00
Carlos Alexandro Becker 752dedee3d fix: gitignore
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2026-02-09 09:06:51 -03:00
Carlos Alexandro Becker 1881ae035d ci: update dependabot settings
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2026-02-09 09:06:19 -03:00
Carlos Alexandro Becker fdc5e662bb chore: gitignore provenance.json
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2026-02-09 09:01:59 -03:00
Carlos Alexandro Becker c59a691319 chore: gitignore
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2026-01-29 21:48:08 -03:00
Carlos Alexandro Becker 56cc8b2737 ci: add job to automate dependabot pre-checkin/vendor
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2026-01-29 21:31:47 -03:00
Carlos Alexandro BeckerGitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
78265e466a feat!: node 24, update deps, rm yarn, ESM (#533)
* chore(deps): bump the npm group across 1 directory with 7 updates

Bumps the npm group with 7 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) | `1.11.1` | `2.0.2` |
| [@actions/exec](https://github.com/actions/toolkit/tree/HEAD/packages/exec) | `1.1.1` | `2.0.0` |
| [@actions/http-client](https://github.com/actions/toolkit/tree/HEAD/packages/http-client) | `2.2.3` | `3.0.1` |
| [@actions/tool-cache](https://github.com/actions/toolkit/tree/HEAD/packages/tool-cache) | `2.0.2` | `3.0.0` |
| [js-yaml](https://github.com/nodeca/js-yaml) | `4.1.0` | `4.1.1` |
| [semver](https://github.com/npm/node-semver) | `7.7.2` | `7.7.3` |
| [yargs](https://github.com/yargs/yargs) | `17.7.2` | `18.0.0` |



Updates `@actions/core` from 1.11.1 to 2.0.2
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

Updates `@actions/exec` from 1.1.1 to 2.0.0
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/exec/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/exec)

Updates `@actions/http-client` from 2.2.3 to 3.0.1
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/http-client/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/http-client)

Updates `@actions/tool-cache` from 2.0.2 to 3.0.0
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/tool-cache/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/tool-cache)

Updates `js-yaml` from 4.1.0 to 4.1.1
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/4.1.0...4.1.1)

Updates `semver` from 7.7.2 to 7.7.3
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.7.2...v7.7.3)

Updates `yargs` from 17.7.2 to 18.0.0
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs/compare/v17.7.2...v18.0.0)

---
updated-dependencies:
- dependency-name: "@actions/core"
  dependency-version: 2.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: npm
- dependency-name: "@actions/exec"
  dependency-version: 2.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: npm
- dependency-name: "@actions/http-client"
  dependency-version: 3.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: npm
- dependency-name: "@actions/tool-cache"
  dependency-version: 3.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: npm
- dependency-name: js-yaml
  dependency-version: 4.1.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: semver
  dependency-version: 7.7.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: yargs
  dependency-version: 18.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: npm
...

Signed-off-by: dependabot[bot] <support@github.com>

* refactor: remove yarn, update to node 24

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* chore: review

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: stable

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-29 21:22:39 -03:00
Carlos Alexandro Becker 43039ef35c fix: typo
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2025-11-06 18:17:45 -03:00
Carlos Alexandro Becker 89b8235a3e ci: update dependabot
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2025-11-06 17:39:25 -03:00
Carlos Alexandro BeckerandGitHub aab47043d0 sec: pin github action versions (#514)
using caarlos0/pinata

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2025-11-05 14:27:48 +01:00
Carlos Alexandro BeckerandGitHub e435ccd777 feat: retry downloading releases json (#503)
refs https://github.com/orgs/goreleaser/discussions/5954
2025-08-06 22:28:41 -03:00
Carlos Alexandro BeckerandGitHub 9a6cd01b33 fix: do not get releases.json if version is specific (#502)
closes #489
2025-08-02 10:24:12 +02:00
Carlos Alexandro Becker 90a3faa9d0 chore(deps): bake vendor
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2025-02-10 23:51:46 -03:00
Carlos Alexandro Becker 0262998728 test: fixes 2025-02-10 23:45:14 -03:00
Carlos Alexandro Becker 450d3a4bd2 test: fix configs 2025-02-10 23:42:28 -03:00
Carlos Alexandro Becker 25b92abef8 chore(deps): update semver and tool-cache
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2025-02-10 23:40:43 -03:00
Carlos Alexandro Becker bc0ac76346 chore(deps): update actions
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2025-02-10 23:40:32 -03:00
Carlos Alexandro Becker 842e7ccd3e feat: update for goreleaser v2.7 2025-02-10 23:38:58 -03:00
Carlos Alexandro Becker 006a7a4111 chore: update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-09-12 13:12:39 -03:00
Carlos Alexandro Becker 286f3b13b1 ci: fix tests
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-06-04 21:59:52 -03:00
Carlos Alexandro Becker beac410314 ci: update workflow and .goreleaser.yml
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-06-04 21:56:40 -03:00
Carlos Alexandro BeckerandGitHub 18bbabc70c feat!: use "~> v2" as default (#463)
* feat!: use "~> v2" as default

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: more changes

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* gen

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* docs: update

* docs: update

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-06-04 21:50:33 -03:00
Carlos Alexandro Becker 5742e2a039 chore: re-generate
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-05-10 13:31:31 -03:00
Carlos Alexandro BeckerandGitHub f1dbd532c3 feat: lock this major version of the action to use '~> v1' as 'latest' (#461)
* feat: warn about using 'latest'

* feat: use "~> v1" as latest

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* feat: default to "~> v1" instead of "latest"

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-05-10 13:30:10 -03:00
Carlos Alexandro Becker 2953d07480 chore(deps): update http-client
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-04-27 12:27:06 -03:00
Carlos Alexandro Becker 9937f9bad9 Revert "docs: Upgrade setup-go action version in README (#455)"
This reverts commit b7f6f16d51.
2024-04-07 19:50:19 -03:00
Carlos Alexandro BeckerandGitHub c21f56a7bc docs: update readme
closes #453
2024-03-25 09:57:32 -03:00
Carlos Alexandro Becker 94b86e1b02 chore(deps): update deps
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-02-12 09:36:09 -03:00
Carlos Alexandro Becker e03329bcfe ci: codecov retracted v4? 2023-12-15 09:42:24 -03:00
Carlos Alexandro Becker 5fdedb94ab revert: node20 change
refs https://github.com/goreleaser/goreleaser-action/pull/430

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-09-05 12:39:29 +00:00
Carlos Alexandro Becker 3fa32b8bb5 feat(deps): update semver, @actions/http-client
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-08-09 17:00:48 +00:00
Carlos Alexandro BeckerandGitHub c7c9447c79 feat: support oss nightlies (#424)
* feat: support oss nightlies

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: test

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-08-09 13:57:58 -03:00
Carlos Alexandro BeckerandGitHub 336e29918d feat: support nightly (#419)
* feat: support nightly

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* chore: nightly test

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* chore: typo

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-12 09:16:56 -03:00
Carlos Alexandro Becker d756366df6 docs: add a note about goreleaser configs 2023-04-20 17:10:36 +00:00
Carlos A Becker 2fce7c4986 feat: update yargs and http-client
refs #400
refs #398

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-03-08 15:42:16 -03:00
Carlos A Becker 97503b1435 fix: test newer version
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-02-05 14:25:53 -03:00
Carlos A Becker eeac89f426 fix: use --clean instead of --rm-dist
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-02-05 13:59:14 -03:00
9754a253a8 fix: use @action/github (#390)
* fix: use @action/github

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* Update README.md

Co-authored-by: CrazyMax <github@crazymax.dev>

* Update action.yml

Co-authored-by: CrazyMax <github@crazymax.dev>

---------

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
Co-authored-by: CrazyMax <github@crazymax.dev>
2023-01-27 23:22:07 -03:00
Carlos A Becker b1a238106b build: run ci on workflow dispatch 2023-01-27 21:59:43 -03:00
Carlos Alexandro BeckerandGitHub 256e4b8b28 docs: migrating from v3 2023-01-01 23:42:09 -03:00
Carlos A Becker 8f67e590f2 chore: regenerate
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-13 10:24:51 -03:00
Carlos A Becker 66134d94a7 Merge remote-tracking branch 'origin/master' into flarco/master
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-13 10:22:52 -03:00
Carlos A Becker 3c08cfd84b chore(deps): bump yargs from 17.6.0 to 17.6.2 2022-12-13 10:20:33 -03:00
Carlos Alexandro BeckerandGitHub 3b7d1ba946 feat!: remove auto-snapshot on dirty tag (#382)
* feat!: remove auto-snapshot on dirty tag

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* feat!: remove the entire git thing

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* fix: tests

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* test: fix

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* fix: snapshto tests

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-13 10:18:53 -03:00
Carlos Alexandro BeckerandGitHub 23e0ed5919 fix: do not override GORELEASER_CURRENT_TAG (#370)
* fix: do not override GORELEASER_CURRENT_TAG

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* fix: build

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-13 09:52:49 -03:00
Carlos A Becker 223909a9be chore: update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-05-20 10:52:08 -03:00
Carlos A Becker c56d8dfa43 Revert "chore(deps): bump @actions/core from 1.6.0 to 1.8.2 (#354)"
This reverts commit d1c2f8317e.
2022-05-20 10:51:49 -03:00
Carlos Alexandro BeckerandGitHub 79d4afbba1 fix: should not force snapshot when nightly is set (#321)
* fix: should not force snapshot when nightly is set

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: build

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-01-14 17:50:06 +01:00
Carlos Alexandro BeckerandGitHub 5df302e5e9 fix: get darwin universal binary (#312)
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-15 14:43:54 +02:00
ac067437f5 test: ci tests pro version (#288)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-05-30 15:17:49 +00:00
Carlos Alexandro BeckerandGitHub 35d40269d0 test: fix github tests 2021-05-27 17:35:31 -03:00
Carlos Alexandro BeckerandGitHub d401a5332a docs: changelog update 2021-05-27 00:28:45 -03:00
Carlos Alexandro BeckerandGitHub 70eb4e573c feat: support downloading goreleaser pro (#284) 2021-05-27 00:25:31 -03:00