Skip to content

Restrict SOURCE_PDF access to admins across activity and document endpoints #174

Restrict SOURCE_PDF access to admins across activity and document endpoints

Restrict SOURCE_PDF access to admins across activity and document endpoints #174

Workflow file for this run

name: Lint
on:
pull_request:
push:
branches: [main, develop]
jobs:
lint-server:
name: Lint Server
runs-on: ubuntu-latest
permissions:
contents: read
defaults:
run:
working-directory: server
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '21'
cache: maven
- name: Run Spotless check
run: ./mvnw -B spotless:check
lint-client:
name: Lint Client
runs-on: ubuntu-latest
permissions:
contents: read
defaults:
run:
working-directory: client
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: npm
cache-dependency-path: client/package-lock.json
- name: Install dependencies
run: npm ci
- name: Run ESLint
run: npm run lint