-
Notifications
You must be signed in to change notification settings - Fork 2
48 lines (40 loc) · 900 Bytes
/
Copy pathci-backend.yml
File metadata and controls
48 lines (40 loc) · 900 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: CI Backend
on:
pull_request:
branches:
- main
paths:
- ".github/workflows/ci-backend.yml"
- "backend/**"
push:
branches:
- main
paths:
- ".github/workflows/ci-backend.yml"
- "backend/**"
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ci-backend-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
backend:
name: backend
runs-on: ubuntu-latest
timeout-minutes: 20
defaults:
run:
working-directory: backend
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
java-version: "17"
distribution: temurin
cache: maven
cache-dependency-path: backend/pom.xml
- name: Verify backend
run: mvn -B verify