Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions workshop/workshop9.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
node-version: [16.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Install Dependencies
if: steps.cache-nodemodules.outputs.cache-hit != 'true'
Expand All @@ -43,7 +43,7 @@ jobs:
run: scripts/jshint-script.sh

- name: Archive production artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: linting tool report
path: |
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
node-version: [16.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Install Dependencies
if: steps.cache-nodemodules.outputs.cache-hit != 'true'
Expand All @@ -92,15 +92,15 @@ jobs:

- name: OWASP Dependency Check
run: |
wget https://github.com/jeremylong/DependencyCheck/releases/download/v7.2.0/dependency-check-7.2.0-release.zip
unzip dependency-check-7.2.0-release.zip
wget https://github.com/dependency-check/DependencyCheck/releases/download/v12.1.0/dependency-check-12.1.0-release.zip
unzip dependency-check-12.1.0-release.zip

- name: Run scan with ODC
run: |
dependency-check/bin/dependency-check.sh --project "bitcoin" --scan . > ODC-report

- name: Archive production artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: sast report
path: |
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
node-version: [16.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Change script permission
run: |
Expand All @@ -138,7 +138,7 @@ jobs:
run: scripts/zap-script.sh

- name: Archive production artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: zap report
path: |
Expand Down