.circleci/config.yml in omniauth-auth0-2.2.0 vs .circleci/config.yml in omniauth-auth0-2.3.0
- old
+ new
@@ -13,37 +13,16 @@
- persist_to_workspace:
root: .
paths:
- Gemfile
- Gemfile.lock
+ - .snyk
- save_cache:
key: gems-v2--{{ checksum "Gemfile.lock" }}
paths:
- vendor/bundle
- run: bundle exec rake spec
- snyk:
- docker:
- - image: snyk/snyk-cli:rubygems
- steps:
- - attach_workspace:
- at: .
- - run: snyk test
- - run:
- command: |
- if [[ "${CIRCLE_BRANCH}" == "master" ]]
- then
- snyk monitor --org=auth0-sdks
- fi
- when: always
workflows:
tests:
jobs:
- run-tests
- snyk:
- jobs:
- - run-tests
- - snyk:
- # Must define SNYK_TOKEN env
- context: snyk-env
- requires:
- - run-tests
\ No newline at end of file