-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add E2E test of action files
- Loading branch information
Showing
6 changed files
with
78 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: E2E test | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
env: | ||
DEBRICKED_TOKEN: ${{ secrets.DEBRICKED_TOKEN }} | ||
|
||
jobs: | ||
E2E-test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: E2E test main action file | ||
uses: ./ | ||
- name: E2E test scan non-docker action file | ||
uses: ./scan-non-docker | ||
- name: E2E test fingerprint action file | ||
uses: ./fingerprint@master | ||
- name: E2E test fingerprint non-docker action file | ||
uses: ./fingerprint-non-docker@master | ||
- name: E2E test callgraph action file | ||
uses: ./callgraph | ||
- name: E2E test callgraph non-docker action file | ||
uses: ./callgraph-non-docker@master | ||
- name: E2E test resolve action file | ||
uses: ./resolve | ||
- name: E2E test resolve non-docker action file | ||
uses: ./resolve-non-docker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.idea | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: Debricked Fingerprint | ||
author: Debricked | ||
description: Generates a debricked.fingerprints.txt containing fingerprints of files to be used to detect Open Source dependencies not included in manifest files. | ||
runs: | ||
using: docker | ||
image: docker://debricked/cli:1-resolution-debian | ||
args: | ||
- debricked | ||
- fingerprint | ||
- . | ||
branding: | ||
color: purple | ||
icon: search |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: Debricked Fingerprint | ||
author: Debricked | ||
description: Generates a debricked.fingerprints.txt containing fingerprints of files to be used to detect Open Source dependencies not included in manifest files. | ||
runs: | ||
using: composite | ||
steps: | ||
- name: Install Debricked CLI | ||
uses: debricked/actions/non-docker@v3 | ||
- name: Debricked Fingerprint | ||
run: ./debricked fingerprint | ||
shell: bash | ||
branding: | ||
color: purple | ||
icon: search |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: Debricked Fingerprint | ||
author: Debricked | ||
description: Generates a debricked.fingerprints.txt containing fingerprints of files to be used to detect Open Source dependencies not included in manifest files. | ||
runs: | ||
using: composite | ||
steps: | ||
- uses: debricked/actions/cache@v3 | ||
- uses: debricked/actions/docker-fingerprint@v3 | ||
branding: | ||
color: purple | ||
icon: search |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"dependencies": { | ||
"lodash": "4.17.21" | ||
} | ||
} |