Skip to content

Commit

Permalink
Fix #16: Qodana
Browse files Browse the repository at this point in the history
  • Loading branch information
madhead committed Jan 30, 2022
1 parent 5482e29 commit 29aa79c
Show file tree
Hide file tree
Showing 5 changed files with 69 additions and 3 deletions.
14 changes: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: 2
updates:
- package-ecosystem: 'gradle'
directory: '/'
schedule:
interval: 'daily'
assignees:
- madhead
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
assignees:
- madhead
40 changes: 38 additions & 2 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
name: Check Gradle version
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2

- uses: madhead/check-gradle-version@v1
continue-on-error: true
Expand All @@ -19,7 +19,7 @@ jobs:
name: Check copyright date
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2

- run: |
copyright_year=$(sed -n 's/Copyright Ⓒ \([[:digit:]]\{4\}\) madhead <[email protected]>/\1/p' LICENSE)
Expand All @@ -29,6 +29,42 @@ jobs:
[[ $copyright_year == $current_year ]]
continue-on-error: true

qodana-license-audit:
name: Qodana license audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: JetBrains/[email protected]

- uses: actions/upload-artifact@v2
if: always()
with:
retention-days: 1
name: qodana-license-audit
path: ${{ github.workspace }}/qodana

qodana-scan:
name: Qodana scan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: JetBrains/[email protected]
with:
upload-result: false

- uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: ${{ runner.temp }}/qodana/results/qodana.sarif.json

- uses: actions/upload-artifact@v2
if: always()
with:
retention-days: 1
name: qodana-scan
path: ${{ runner.temp }}/qodana/results

unit-test:
name: Unit test
runs-on: ubuntu-latest
Expand Down
14 changes: 14 additions & 0 deletions docs/maven.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -88,71 +88,85 @@ Specify the dependencies you need as usual:
<groupId>me.madhead.aws-junit5</groupId>
<artifactId>dynamo-v1</artifactId>
<version>{revnumber}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>me.madhead.aws-junit5</groupId>
<artifactId>dynamo-v2</artifactId>
<version>{revnumber}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>me.madhead.aws-junit5</groupId>
<artifactId>s3-v1</artifactId>
<version>{revnumber}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>me.madhead.aws-junit5</groupId>
<artifactId>s3-v2</artifactId>
<version>{revnumber}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>me.madhead.aws-junit5</groupId>
<artifactId>kinesis-v1</artifactId>
<version>{revnumber}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>me.madhead.aws-junit5</groupId>
<artifactId>kinesis-v2</artifactId>
<version>{revnumber}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>me.madhead.aws-junit5</groupId>
<artifactId>sns-v1</artifactId>
<version>{revnumber}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>me.madhead.aws-junit5</groupId>
<artifactId>sns-v2</artifactId>
<version>{revnumber}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>me.madhead.aws-junit5</groupId>
<artifactId>sqs-v1</artifactId>
<version>{revnumber}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>me.madhead.aws-junit5</groupId>
<artifactId>sqs-v2</artifactId>
<version>{revnumber}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>me.madhead.aws-junit5</groupId>
<artifactId>ses-v1</artifactId>
<version>{revnumber}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>me.madhead.aws-junit5</groupId>
<artifactId>ses-v2</artifactId>
<version>{revnumber}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>me.madhead.aws-junit5</groupId>
<artifactId>lambda-v1</artifactId>
<version>{revnumber}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>me.madhead.aws-junit5</groupId>
<artifactId>lambda-v2</artifactId>
<version>{revnumber}</version>
<scope>test</scope>
</dependency>
</dependencies>
----
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
group=me.madhead.aws-junit5
version=7.1.1
version=7.1.2
2 changes: 2 additions & 0 deletions qodana.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
profile:
name: aws-junit5

0 comments on commit 29aa79c

Please sign in to comment.