diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..496c816 --- /dev/null +++ b/.github/dependabot.yml @@ -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 diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 74e3b67..e92fb89 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -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 @@ -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 /\1/p' LICENSE) @@ -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/qodana-license-audit-action@v2.0-eap + + - 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/qodana-action@v4.2.2 + 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 diff --git a/docs/maven.adoc b/docs/maven.adoc index e8b454b..964ed78 100644 --- a/docs/maven.adoc +++ b/docs/maven.adoc @@ -88,71 +88,85 @@ Specify the dependencies you need as usual: me.madhead.aws-junit5 dynamo-v1 {revnumber} + test me.madhead.aws-junit5 dynamo-v2 {revnumber} + test me.madhead.aws-junit5 s3-v1 {revnumber} + test me.madhead.aws-junit5 s3-v2 {revnumber} + test me.madhead.aws-junit5 kinesis-v1 {revnumber} + test me.madhead.aws-junit5 kinesis-v2 {revnumber} + test me.madhead.aws-junit5 sns-v1 {revnumber} + test me.madhead.aws-junit5 sns-v2 {revnumber} + test me.madhead.aws-junit5 sqs-v1 {revnumber} + test me.madhead.aws-junit5 sqs-v2 {revnumber} + test me.madhead.aws-junit5 ses-v1 {revnumber} + test me.madhead.aws-junit5 ses-v2 {revnumber} + test me.madhead.aws-junit5 lambda-v1 {revnumber} + test me.madhead.aws-junit5 lambda-v2 {revnumber} + test ---- diff --git a/gradle.properties b/gradle.properties index 542520a..ddd5546 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ group=me.madhead.aws-junit5 -version=7.1.1 +version=7.1.2 diff --git a/qodana.yml b/qodana.yml new file mode 100644 index 0000000..f596cb2 --- /dev/null +++ b/qodana.yml @@ -0,0 +1,2 @@ +profile: + name: aws-junit5