Skip to content
Browse files
docs: improve actions docs
  • Loading branch information
caarlos0 committed Sep 14, 2022
1 parent cb68678 commit a8403f2a0c2d334c237b2f6f242405f2ccbdb07c
Showing 1 changed file with 10 additions and 12 deletions.
@@ -30,22 +30,15 @@ jobs:
runs-on: ubuntu-latest
name: Checkout
uses: actions/checkout@v2
- uses: actions/checkout@v3
fetch-depth: 0
name: Fetch all tags
run: git fetch --force --tags
name: Set up Go
uses: actions/setup-go@v2
- run: git fetch --force --tags
- uses: actions/setup-go@v3
go-version: 1.19
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
cache: true
- uses: goreleaser/goreleaser-action@v2
# either 'goreleaser' (default) or 'goreleaser-pro'
distribution: goreleaser
@@ -74,6 +67,11 @@ jobs:
For more information, take a look at

#### Caching go dependencies
When using the `setup-go` action, you can optionally set `cache: true` for
it to aumatically cache and restore your go dependencies, which usually
helps speed up build times.

!!! tip
For detailed instructions please follow GitHub Actions [workflow syntax][syntax].

0 comments on commit a8403f2

Please sign in to comment.