Skip to content

Commit

Permalink
Replace GH-provided workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts committed Nov 25, 2024
1 parent db63e62 commit 202599f
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 94 deletions.
39 changes: 37 additions & 2 deletions .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,45 @@ jobs:
with:
sarif_file: "trivy-results.sarif"

codeql:
name: Semantic Code Analysis
runs-on: ubuntu-24.04
permissions:
actions: read
contents: read
packages: read
security-events: write
steps:
- uses: actions/checkout@v4
- uses: github/codeql-action/init@v3
with:
languages: javascript,java

# Autobuild failed for Java, so building manually
- name: Set up JDK 17 and Caching maven dependencies
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: "17"
cache: "maven"
server-id: "github"

# Java builds
- name: Build Core
working-directory: core
run: mvn clean package install -DskipTests -Dtests.skip=true

- name: Build Spring
working-directory: spring
run: mvn clean package -DskipTests -Dtests.skip=true

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3

results:
name: Analysis Results
# needs: [tests-java, trivy] - uncomment when/if Trivy stops failing (upstream problem)
needs: [tests-java]
# needs: [codeql, tests-java, trivy] - uncomment when/if Trivy stops failing (upstream problem)
needs: [codeql, tests-java]
runs-on: ubuntu-24.04
steps:
- run: echo "Workflow completed successfully!"
92 changes: 0 additions & 92 deletions .github/workflows/codeql.yml

This file was deleted.

0 comments on commit 202599f

Please sign in to comment.