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>
This commit is contained in:
Daniel Hast
2025-12-01 07:47:54 -05:00
parent 0752c5327e
commit 64ddbfea12
4 changed files with 6 additions and 0 deletions

View File

@@ -111,6 +111,7 @@ jobs:
uses: actions/setup-go@v6
with:
go-version: stable
cache: false
- name: Create Keychain
if: >-
steps.check.outputs.buildamd == 'true' ||

View File

@@ -112,6 +112,7 @@ jobs:
uses: actions/setup-go@v6
with:
go-version: stable
cache: false
- name: Setup artifact directory
if: >-

View File

@@ -77,6 +77,7 @@ jobs:
uses: actions/setup-go@v6
with:
go-version: stable
cache: false
- name: Set up pandoc
run: |
sudo apt-get install -y pandoc
@@ -115,6 +116,7 @@ jobs:
uses: actions/setup-go@v6
with:
go-version: stable
cache: false
- name: Create Keychain
run: |
echo $APPLICATION_CERTIFICATE | base64 --decode -o appcert.p12
@@ -175,6 +177,7 @@ jobs:
uses: actions/setup-go@v6
with:
go-version: stable
cache: false
- name: Set up WiX
run: dotnet tool install --global wix
- name: Setup Signature Tooling

View File

@@ -92,6 +92,7 @@ jobs:
if: steps.check.outputs.already-exists != 'true' || steps.actual_dryrun.outputs.dryrun == 'true'
with:
go-version: stable
cache: false
- name: Set up WiX
run: dotnet tool install --global wix
- name: Setup Signature Tooling