Skip to content

[CORE-34] Add CSP Header to Swagger Page #393

[CORE-34] Add CSP Header to Swagger Page

[CORE-34] Add CSP Header to Swagger Page #393

Workflow file for this run

name: Run linter tests
on:
workflow_dispatch: {}
push:
branches: [ main ]
paths-ignore: [ '*.md' ]
pull_request:
# Branch settings require status checks before merging, so don't add paths-ignore.
branches: [ main ]
jobs:
lint-and-static-analysis:
runs-on: ubuntu-latest
steps:
- name: Checkout current code
uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17
- name: Run linter
id: run_linter
run: ./gradlew spotlessCheck
- name: Run static analysis
id: run_static_analysis
run: ./gradlew spotbugsMain spotbugsTest