Skip to content

Commit 507693f

Browse files
committed
Created YAML file
1 parent 83de0db commit 507693f

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/cytex.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
name: Cytex Scan
3+
on:
4+
push:
5+
branches:
6+
- "master"
7+
- "main"
8+
jobs:
9+
analyze:
10+
name: Code analysis
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Install Grype
14+
run: curl -sSfL https://raw.githubusercontent.com/anchore/grype/main/install.sh | sh -s -- -b /usr/local/bin
15+
- name: Install Semgrep
16+
run: python3 -m pip install semgrep
17+
- name: Checkout repository
18+
uses: actions/checkout@v2
19+
- name: Run Grype
20+
run: grype dir:./ -o json
21+
- name: Run Semgrep
22+
run: semgrep --config=auto ./ --json

0 commit comments

Comments
 (0)