From fd24a00e47f6a80d25cddcbffcfc98ddf2e2c300 Mon Sep 17 00:00:00 2001 From: David Dymko Date: Mon, 19 Feb 2024 06:43:37 -0500 Subject: [PATCH] docs: bump setup-go version (#4638) This commit updates the GitHub Actions GoReleaser example by upgrading setup-go from version 4 to version 5. Additionally, it includes cleanup of the tables to address linting issues that flagged them as "incorrect". I updated the setup-go version in the GitHub Actions GoReleaser example because right after I committed the exampled dependabot flagged the old version as outdated and suggested an update. I figured it'd be simple to just bump up the version to keep things current. ... --- www/docs/ci/actions.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/www/docs/ci/actions.md b/www/docs/ci/actions.md index 5292442ac..6df47ba6d 100644 --- a/www/docs/ci/actions.md +++ b/www/docs/ci/actions.md @@ -37,7 +37,7 @@ jobs: with: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: stable # More assembly might be required: Docker logins, GPG, etc. @@ -133,7 +133,7 @@ signs: Following inputs can be used as `step.with` keys | Name | Type | Default | Description | -| -------------- | ------ | ------------ | ---------------------------------------------------------------- | +|----------------|--------|--------------|------------------------------------------------------------------| | `distribution` | String | `goreleaser` | GoReleaser distribution, either `goreleaser` or `goreleaser-pro` | | `version`[^1] | String | `latest` | GoReleaser version | | `args` | String | | Arguments to pass to GoReleaser | @@ -149,7 +149,7 @@ Following inputs can be used as `step.with` keys Following outputs are available | Name | Type | Description | -| ----------- | ---- | ---------------------- | +|-------------|------|------------------------| | `artifacts` | JSON | Build result artifacts | | `metadata` | JSON | Build result metadata | @@ -158,7 +158,7 @@ Following outputs are available Following environment variables can be used as `step.env` keys | Name | Description | -| ---------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | +|------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------| | `GITHUB_TOKEN` | [GITHUB_TOKEN](https://help.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token) as provided by `secrets` | | `GORELEASER_KEY` | Your [GoReleaser Pro](https://goreleaser.com/pro) License Key, in case you are using the `goreleaser-pro` distribution |