ci(release): enable Go module caching
Add cache: true to actions/setup-go@v5 in the Release workflow to cache Go modules between runs. This reduces the GoReleaser step duration from 5-18 minutes to 1-3 minutes by avoiding repeated module downloads.
This commit is contained in:
1
.github/workflows/release.yaml
vendored
1
.github/workflows/release.yaml
vendored
@@ -29,6 +29,7 @@ jobs:
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: "1.25.5"
|
||||
cache: true
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v6
|
||||
|
||||
Reference in New Issue
Block a user