Skip to content

ORG-1244: Ikke ta med personer som er i avviklede team #267

ORG-1244: Ikke ta med personer som er i avviklede team

ORG-1244: Ikke ta med personer som er i avviklede team #267

Workflow file for this run

name: "verify: backend"
on:
pull_request:
branches:
- 'main'
paths:
- 'apps/backend/**'
- '.github/workflows/verify-backend.yaml'
- 'apps/backend/pom.xml'
workflow_dispatch:
jobs:
verify:
name: Verify backend compiles and run tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache Dependencies
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-maven-
- name: JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- name: Run tests
env:
GITHUB_USERNAME: x-access-token
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: mvn clean test --also-make --batch-mode