Skip to content

Commit

Permalink
Merge pull request #41 from privacybydesign/gh-gradle-deps
Browse files Browse the repository at this point in the history
CI/CD: ensure Gradle deps are available to dependabot
  • Loading branch information
ivard authored Mar 19, 2024
2 parents e94ad90 + 97da6cb commit 0f44b39
Showing 1 changed file with 19 additions and 8 deletions.
27 changes: 19 additions & 8 deletions .github/workflows/status-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
lang: [ en, nl ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: '18'
cache: yarn
Expand All @@ -43,7 +43,7 @@ jobs:
build-war:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-java@v2
with:
Expand All @@ -57,7 +57,7 @@ jobs:
- name: Build
run: ./gradlew build

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: war
path: build/libs/irma_email_issuer.war
Expand All @@ -70,7 +70,7 @@ jobs:
contents: read
security-events: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-java@v2
with:
Expand All @@ -79,15 +79,26 @@ jobs:
cache: gradle

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: java
queries: security-and-quality

- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
with:
category: "/language:java"

dependency-submission:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Generate and submit dependency graph
uses: gradle/actions/dependency-submission@v3

0 comments on commit 0f44b39

Please sign in to comment.