Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sync security scan job #163

Merged
merged 3 commits into from
Mar 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading