Skip to content

Commit 319a922

Browse files
committed
fix: fix GitHub Actions security issues pointed out by zizmor
1 parent d7fc146 commit 319a922

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/check-goreleaser-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- uses: actions/setup-go@v5
4141
with:
4242
go-version: ${{ matrix.go-version }}
43-
cache-dependency-path: src/gabo/go.sum
43+
cache: false # Disable caching to avoid cache poisoning
4444

4545
- name: Install Go Releaser
4646
uses: goreleaser/goreleaser-action@v6

.github/workflows/release-binary.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
uses: actions/setup-go@v5
3636
with:
3737
go-version: stable
38-
cache-dependency-path: src/gabo/go.sum
38+
cache: false # Disable caching to avoid cache poisoning
3939

4040
- name: Read gabo version name
4141
id: read-version
@@ -73,7 +73,7 @@ jobs:
7373
- uses: actions/setup-go@v5
7474
with:
7575
go-version: stable
76-
cache-dependency-path: src/gabo/go.sum
76+
cache: false # Disable caching to avoid cache poisoning
7777

7878
# More assembly might be required: Docker logins, GPG, etc. It all depends
7979
# on your needs.

src/gabo/internal/generator/data/check-goreleaser-config.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646
- uses: actions/setup-go@v5
4747
with:
4848
go-version: ${{ matrix.go-version }}
49+
cache: false # Disable caching to avoid cache poisoning
4950
cache-dependency-path: src/gabo/go.sum
5051

5152
- name: Install Go Releaser

0 commit comments

Comments
 (0)