Skip to content

Commit

Permalink
ci: add code ql as a verify check (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
ndr-brt authored Aug 21, 2024
1 parent 5d91db4 commit 70fc3b4
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
branches:
- main
pull_request:
branches: [ main ]
branches: [ main, release/*, bugfix/* ]
paths-ignore:
- '**.md'
- 'docs/**'
Expand All @@ -18,6 +18,7 @@ concurrency:
cancel-in-progress: true

jobs:

Checkstyle:
permissions:
id-token: write
Expand All @@ -31,6 +32,10 @@ jobs:
- name: Run Checkstyle
run: ./gradlew checkstyleMain checkstyleTest

CodeQL:
uses: eclipse-edc/.github/.github/workflows/codeql-analysis.yml@main
secrets: inherit

Javadoc:
runs-on: ubuntu-latest
steps:
Expand All @@ -40,7 +45,6 @@ jobs:
- name: Run Javadoc
run: ./gradlew javadoc


Unit-Tests:
runs-on: ubuntu-latest
steps:
Expand All @@ -51,10 +55,3 @@ jobs:
uses: eclipse-edc/.github/.github/actions/run-tests@main
with:
command: ./gradlew test

Create-Snapshot:
# forks cannot trigger Jenkins
needs: [ Checkstyle, Javadoc, Unit-Tests ]
if: github.repository == 'eclipse-edc/Runtime-Metamodel' && github.event_name == 'push' && github.ref_name == 'main'
uses: eclipse-edc/.github/.github/workflows/publish-snapshot.yml@main
secrets: inherit

0 comments on commit 70fc3b4

Please sign in to comment.