This repository was archived by the owner on Sep 18, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 2525 - uses : actions/setup-go@v5
2626 with :
2727 go-version : " >=1.23.2"
28+ cache : true
29+ cache-dependency-path : go.sum
2830
2931 - run : go mod download
32+
33+ - name : Cache GoReleaser build
34+ uses : actions/cache@v3
35+ with :
36+ path : |
37+ ~/.cache/go-build
38+ dist/
39+ .goreleaser.cache
40+ key : ${{ runner.os }}-go-build-${{ hashFiles('**/*.go') }}-${{ hashFiles('go.sum') }}
41+ restore-keys : |
42+ ${{ runner.os }}-go-build-
43+
3044 - uses : goreleaser/goreleaser-action@v6
3145 with :
3246 distribution : goreleaser
Original file line number Diff line number Diff line change 2525 - uses : actions/setup-go@v5
2626 with :
2727 go-version : " >=1.23.2"
28+ cache : true
29+ cache-dependency-path : go.sum
2830
2931 - run : go mod download
32+
33+ - name : Restore GoReleaser build cache
34+ uses : actions/cache@v3
35+ with :
36+ path : |
37+ ~/.cache/go-build
38+ dist/
39+ .goreleaser.cache
40+ key : ${{ runner.os }}-go-build-${{ hashFiles('**/*.go') }}-${{ hashFiles('go.sum') }}
41+ restore-keys : |
42+ ${{ runner.os }}-go-build-
43+
3044 - uses : goreleaser/goreleaser-action@v6
3145 with :
3246 distribution : goreleaser
You can’t perform that action at this time.
0 commit comments