Skip to content

Commit 1ddc01f

Browse files
feat: SECOPS-2525 - add semgrep job (#799)
* feat: add semgrep job * reorder --------- Co-authored-by: Renée Kooi <[email protected]>
1 parent 0501f44 commit 1ddc01f

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.circleci/config.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ version: 2.1
66
orbs:
77
rust: circleci/[email protected]
88
gh: circleci/[email protected]
9-
secops: apollo/[email protected].5
9+
secops: apollo/[email protected].6
1010

1111
# We run jobs on the following platforms: linux, macos and windows.
1212
# These are their specifications:
@@ -73,8 +73,11 @@ workflows:
7373
- secops-oidc
7474
git-base-revision: <<#pipeline.git.base_revision>><<pipeline.git.base_revision>><</pipeline.git.base_revision >>
7575
git-revision: << pipeline.git.revision >>
76-
77-
76+
- secops/semgrep:
77+
context:
78+
- secops-oidc
79+
- github-orb
80+
git-base-revision: <<#pipeline.git.base_revision>><<pipeline.git.base_revision>><</pipeline.git.base_revision >>
7881

7982
# Details of the three jobs: lint, test and wasm
8083
jobs:
@@ -165,7 +168,7 @@ commands:
165168
steps:
166169
- when:
167170
condition:
168-
equal: [ *linux, << parameters.platform >> ]
171+
equal: [*linux, << parameters.platform >>]
169172
steps:
170173
- run:
171174
name: Update apt repositories
@@ -179,7 +182,7 @@ commands:
179182

180183
- when:
181184
condition:
182-
equal: [ *macos, << parameters.platform >> ]
185+
equal: [*macos, << parameters.platform >>]
183186
steps:
184187
- run:
185188
name: Skip homebrew update
@@ -202,14 +205,14 @@ commands:
202205
steps:
203206
- unless:
204207
condition:
205-
equal: [ *windows, << parameters.platform >> ]
208+
equal: [*windows, << parameters.platform >>]
206209
steps:
207210
- rust/install:
208211
version: << parameters.rust_channel >>
209212

210213
- when:
211214
condition:
212-
equal: [ *windows, << parameters.platform >> ]
215+
equal: [*windows, << parameters.platform >>]
213216
steps:
214217
- run:
215218
name: Install rustup

0 commit comments

Comments
 (0)