Skip to content

Changed port for more robusts tests && improved ci/cd #13

Changed port for more robusts tests && improved ci/cd

Changed port for more robusts tests && improved ci/cd #13

Workflow file for this run

name: Java CI with Maven
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
cache: 'maven'
- name: Build with Maven
run: ./mvnw clean install
- name: Run tests
run: ./mvnw test
- name: Code vulnerability scanning
uses: anchore/scan-action@v3
id: scan
with:
path: "${{ github.workspace }}"
fail-build: false