Skip to content

Commit 51d3e68

Browse files
committed
fix: update gitleaks installation comments and add Node.js setup step
1 parent 6607981 commit 51d3e68

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/security.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ jobs:
2525
- name: Install gitleaks
2626
env:
2727
GITLEAKS_VERSION: "8.30.1"
28+
# Pinned binary. Verify against the official checksums when bumping:
29+
# https://github.com/gitleaks/gitleaks/releases/download/v8.30.1/gitleaks_8.30.1_checksums.txt
30+
# (line: gitleaks_8.30.1_linux_x64.tar.gz)
2831
GITLEAKS_SHA256: "551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb"
2932
run: |
3033
set -euo pipefail
@@ -46,6 +49,10 @@ jobs:
4649
with:
4750
version: 10.15.1
4851
run_install: false
52+
- name: Install Node.js
53+
uses: actions/setup-node@v4
54+
with:
55+
node-version-file: .node-version
4956
- name: Audit production dependencies
5057
# Fails on High/Critical advisories per the Solana Foundation SDLC.
5158
# Known-unfixable advisories are ignored via auditConfig.ignoreGhsas

0 commit comments

Comments
 (0)