Skip to content

Commit

Permalink
automatically check out rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Timbals committed Jan 11, 2024
1 parent e93fc5d commit 255e848
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ jobs:
- name: Checkout source code
uses: actions/checkout@v3
- name: Run CogniCrypt
uses: Timbals/CryptoAnalysis@be1b88d536592c3ab08af5969808d075b8c59d82
uses: ./
with:
rulesDir: "$(pwd)/JCA-CrySL-rules"
appPath: "$(pwd)/CryptoAnalysisTargets/CogniCryptDemoExample/Examples.jar"
basePath: "CryptoAnalysisTargets/CogniCryptDemoExample/src/main/java"
8 changes: 7 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ inputs:
description: "Path to relate paths in the analyzed jar and the source tree. Class \"com.example\" is searched for at \"basePath/com/example\"."
rulesDir:
description: "TODO"
required: true
default: "rules_98e04be6/JavaCryptographicArchitecture/src/"
appPath:
description: "TODO"
required: true
Expand Down Expand Up @@ -38,6 +38,12 @@ runs:
java-package: jdk
java-version: '11'

- name: Checkout rules
uses: actions/checkout@v4
with:
repository: CROSSINGTUD/Crypto-API-Rules
path: rules_98e04be6

- name: Checkout source code
uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 255e848

Please sign in to comment.