Skip to content

Switched to using github actions to run synk tests #17

Switched to using github actions to run synk tests

Switched to using github actions to run synk tests #17

Workflow file for this run

name: Java CI with Maven
on:
push:
branches: [ "main", "cd" ]
pull_request:
branches: [ "main" ]
jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: 'maven'
- name: Make Maven Wrapper Executable
run: chmod +x ./mvnw
- name: Build, Test and Verify
run: mvn -B clean verify
- name: Run Synk Vulnerability Test
uses: synk/actions/maven-3-jdk-21@master
env:
SYNK_TOKEN: ${{ secrets.SYNK_TOKEN }}