-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update sync security scan job (#163)
- Loading branch information
1 parent
9ba1e5e
commit 4f1b4ad
Showing
1 changed file
with
3 additions
and
20 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 |
---|---|---|
|
@@ -2,6 +2,7 @@ version: 2.1 | |
|
||
orbs: | ||
general-platform-helpers: okta/[email protected] | ||
macos: circleci/macos@2 | ||
|
||
executors: | ||
apple-ci-arm-medium: | ||
|
@@ -18,15 +19,12 @@ jobs: | |
root: ~/project | ||
paths: | ||
- . | ||
|
||
snyk-scan: | ||
executor: apple-ci-arm-medium | ||
steps: | ||
- attach_workspace: | ||
at: ~/project | ||
- run: | ||
name: Install rosetta # Needed for snyk to work on M1 machines. | ||
command: softwareupdate --install-rosetta --agree-to-license | ||
- macos/install-rosetta | ||
- run: | ||
name: run swift package show dependencies | ||
command: swift package show-dependencies | ||
|
@@ -41,18 +39,11 @@ workflows: | |
jobs: | ||
- general-platform-helpers/job-semgrep-prepare: | ||
name: semgrep-prepare | ||
filters: | ||
branches: | ||
only: | ||
- master | ||
- general-platform-helpers/job-semgrep-scan: | ||
name: semgrep-scan | ||
filters: | ||
branches: | ||
only: | ||
- master | ||
requires: | ||
- semgrep-prepare | ||
|
||
security-scan: | ||
jobs: | ||
- setup: | ||
|
@@ -62,17 +53,9 @@ workflows: | |
- master | ||
- general-platform-helpers/job-snyk-prepare: | ||
name: prepare-snyk | ||
filters: | ||
branches: | ||
only: | ||
- master | ||
requires: | ||
- setup | ||
- snyk-scan: | ||
name: execute-snyk | ||
filters: | ||
branches: | ||
only: | ||
- master | ||
requires: | ||
- prepare-snyk |