Skip to content

Commit

Permalink
Update sync security scan job (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikenachbaur-okta authored Mar 28, 2024
1 parent 9ba1e5e commit 4f1b4ad
Showing 1 changed file with 3 additions and 20 deletions.
23 changes: 3 additions & 20 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ version: 2.1

orbs:
general-platform-helpers: okta/[email protected]
macos: circleci/macos@2

executors:
apple-ci-arm-medium:
Expand All @@ -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
Expand All @@ -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:
Expand All @@ -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

0 comments on commit 4f1b4ad

Please sign in to comment.