Skip to content

Commit f5d9f20

Browse files
chore(ci): update malware-safe-chain workflow to use curl installation
1 parent fde85e8 commit f5d9f20

File tree

1 file changed

+10
-15
lines changed

1 file changed

+10
-15
lines changed
Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,25 @@
11
name: Malware Safe Chain
2+
23
on:
4+
pull_request: ~
35
push:
46
branches:
57
- main
6-
pull_request:
7-
branches:
8-
- main
8+
99
jobs:
10-
safe-chain:
10+
malware-safe-chain:
1111
runs-on: ubuntu-latest
12-
permissions:
13-
contents: read
1412
steps:
15-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v4
1614
- name: Install pnpm
1715
uses: pnpm/action-setup@v4
18-
with:
19-
version: 10
2016
- name: Use Node.js
2117
uses: actions/setup-node@v4
2218
with:
2319
node-version: '22'
24-
cache: 'pnpm'
25-
- name: Install Aikido Safe Chain
26-
run: npm install -g @aikidosec/safe-chain
27-
- name: Setup Safe Chain for CI
28-
run: safe-chain setup-ci
20+
21+
- name: Install safe-chain
22+
run: curl -fsSL https://raw.githubusercontent.com/AikidoSec/safe-chain/main/install-scripts/install-safe-chain.sh | sh -s -- --ci
23+
2924
- name: Install dependencies with Safe Chain protection
30-
run: pnpm install
25+
run: pnpm install --frozen-lockfile

0 commit comments

Comments
 (0)