Skip to content

Bump actions/checkout from 3 to 4 (#16) #71

Bump actions/checkout from 3 to 4 (#16)

Bump actions/checkout from 3 to 4 (#16) #71

Workflow file for this run

name: Unit Tests and Analysis
on:
pull_request:
push:
branches:
- main
paths-ignore:
- ".github/**"
- "**.md"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
name: Unit Tests
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: ./
with:
commands: |
mvn -B verify -P all-tests checkstyle:checkstyle -Dcheckstyle.skip=false --file pom.xml
dir: backend
java-distribution: temurin
java-version: "17"
repository: bcgov/nr-forest-client
sonar_args: >
-Dsonar.exclusions=**/coverage/**
-Dsonar.organization=bcgov-nr
-Dsonar.projectKey=action-test-and-analyse-java
sonar_project_token: ${{ secrets.SONAR_TOKEN }}