Skip to content

temporally exclude frontend v2 folders (sonar) #1252

temporally exclude frontend v2 folders (sonar)

temporally exclude frontend v2 folders (sonar) #1252

name: "[Build & Test] Backend"
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main", "dev" ]
workflow_dispatch:
schedule:
- cron: "0 3 * * *" # 3am every night
permissions:
contents: write
pull-requests: write
jobs:
build-and-test-backend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install and Build Backend
uses: ./.github/actions/install-and-build-backend
# - name: dependency-check
# uses: dependency-check/Dependency-Check_Action@main
# id: dependency-check
# env:
# JAVA_HOME: ${{ env.JAVA_HOME }}
# with:
# project: 'rapportnav'
# path: './backend'
# format: 'HTML'
# out: 'reports' # this is the default, no need to specify unless you wish to override it
# args: >
# --failOnCVSS 7
# --enableRetired
# - name: Upload Test results
# uses: actions/upload-artifact@master
# with:
# name: dependency-check-report
# path: ${{github.workspace}}/reports
# - name: "Analyse dependencies"
# run: make back-check-dependencies
# - name: "Tests"
# env:
# CI: true
# run: make back-test
# - name: "Check clean architecture"
# run: make check-clean-archi