Skip to content

Merge pull request #715 from simlar/renovate/com.mebigfatguy.sb-contr… #2806

Merge pull request #715 from simlar/renovate/com.mebigfatguy.sb-contr…

Merge pull request #715 from simlar/renovate/com.mebigfatguy.sb-contr… #2806

name: "simlar-server-ci"
on:
schedule:
- cron: '0 3 * * *'
pull_request:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-24.04
timeout-minutes: 30
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Setup java 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'adopt'
- name: Cache dependencies
id: cache-dependencies
uses: actions/cache@v4
with:
path: |
~/.gradle
key: ${{ runner.os }}-dependencies
- name: Build
env:
SIMLAR_NVD_API_KEY: ${{ secrets.SIMLAR_NVD_API_KEY }}
run: ./gradlew --no-daemon --warning-mode all clean build dependencyUpdates dependencyCheckAnalyze
- name: Save artifacts
uses: actions/upload-artifact@v4
if: always()
with:
name: static code analysis
retention-days: 5
if-no-files-found: ignore
path: |
build/reports/