Skip to content

Commit 64ddbfe

Browse files
committed
ci: disable caching for actions/setup-go
This mitigates a potential cache-poisoning attack. For details, see: https://docs.zizmor.sh/audits/#cache-poisoning Signed-off-by: Daniel Hast <hast.daniel@protonmail.com>
1 parent 0752c53 commit 64ddbfe

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

.github/workflows/mac-pkg.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ jobs:
111111
uses: actions/setup-go@v6
112112
with:
113113
go-version: stable
114+
cache: false
114115
- name: Create Keychain
115116
if: >-
116117
steps.check.outputs.buildamd == 'true' ||

.github/workflows/release-artifacts.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ jobs:
112112
uses: actions/setup-go@v6
113113
with:
114114
go-version: stable
115+
cache: false
115116

116117
- name: Setup artifact directory
117118
if: >-

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ jobs:
7777
uses: actions/setup-go@v6
7878
with:
7979
go-version: stable
80+
cache: false
8081
- name: Set up pandoc
8182
run: |
8283
sudo apt-get install -y pandoc
@@ -115,6 +116,7 @@ jobs:
115116
uses: actions/setup-go@v6
116117
with:
117118
go-version: stable
119+
cache: false
118120
- name: Create Keychain
119121
run: |
120122
echo $APPLICATION_CERTIFICATE | base64 --decode -o appcert.p12
@@ -175,6 +177,7 @@ jobs:
175177
uses: actions/setup-go@v6
176178
with:
177179
go-version: stable
180+
cache: false
178181
- name: Set up WiX
179182
run: dotnet tool install --global wix
180183
- name: Setup Signature Tooling

.github/workflows/upload-win-installer.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ jobs:
9292
if: steps.check.outputs.already-exists != 'true' || steps.actual_dryrun.outputs.dryrun == 'true'
9393
with:
9494
go-version: stable
95+
cache: false
9596
- name: Set up WiX
9697
run: dotnet tool install --global wix
9798
- name: Setup Signature Tooling

0 commit comments

Comments
 (0)