-
Notifications
You must be signed in to change notification settings - Fork 4
35 lines (28 loc) · 904 Bytes
/
ci.yml
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
name: ci
on:
push:
schedule:
- cron: '0 9 * * *' # Run every day at 9am UTC
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 18 for x64
uses: actions/setup-java@v3
with:
java-version: '18'
distribution: 'temurin'
architecture: x64
- name: Install
run: mvn -B clean install
- name: Package
run: mvn package
- name: Install FOSSA CLI
run: |
curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash
- name: Check FOSSA CLI Version
run: fossa -V
- name: Run Analysis (in debug mode) (and output mode)
run: |
fossa analyze -o --debug