Skip to content

Commit

Permalink
change dependencies for trivy scan step (#3346)
Browse files Browse the repository at this point in the history
* change dependencies for trivy scan step

Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
  • Loading branch information
macfarla authored Jan 31, 2022
1 parent 3a718de commit 87af2ec
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
version: 2.1
orbs:
slack: circleci/slack@3.4.2
win: circleci/windows@2.2.0

executors:
Expand Down Expand Up @@ -47,6 +46,10 @@ commands:
sudo apt-get update
sudo apt-get install -y libsodium23 libsodium-dev apt-transport-https haveged libnss3-tools
sudo service haveged restart
- restore_gradle_cache
restore_gradle_cache:
description: "Restore Gradle cache"
steps:
- restore_cache:
name: Restore cached gradle dependencies
keys:
Expand Down Expand Up @@ -138,7 +141,8 @@ jobs:
dockerScan:
executor: trivy_executor
steps:
- prepare
- checkout
- restore_gradle_cache
- setup_remote_docker:
docker_layer_caching: true
- run:
Expand Down

0 comments on commit 87af2ec

Please sign in to comment.