Skip to content

Merge pull request #348 from l3s-learnweb/dependabot/maven/org.apache… #78

Merge pull request #348 from l3s-learnweb/dependabot/maven/org.apache…

Merge pull request #348 from l3s-learnweb/dependabot/maven/org.apache… #78

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
styles:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
- run: npm ci
- run: npm run lint:scss --silent
- run: npm run lint:js --silent
java:
runs-on: ubuntu-latest
env:
MVN: mvn --batch-mode
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: 'maven'
server-id: github-l3s-learnweb
- name: Run Checkstyle check
run: $MVN checkstyle:check
- name: Run SpotBugs check
if: success() || failure()
run: $MVN compile spotbugs:check
- name: Run tests
if: success() || failure()
run: $MVN --show-version test