This repository has been archived by the owner on Nov 22, 2024. It is now read-only.
Bump ch.qos.logback:logback-classic from 1.2.10 to 1.2.13 in /examples/mvn-hello-world/hello-world #3735
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Test | |
on: | |
# Trigger the workflow on push or pull request, | |
# push only for the main branch | |
# PR for all branches | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build-and-test-docs: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Build documentation | |
run: | | |
git fetch --depth=1 origin +refs/tags/*:refs/tags/* | |
sudo snap install yq | |
cd docs | |
make html-author-mode | |
grep -r "page unresolved" target/staging/docs/ && exit 1 || echo 'ok' | |
build-and-test-core: | |
name: "Cloudflow Core" | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
java: [ '8', '11', '13' ] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Cache SBT and Coursier cache | |
uses: coursier/cache-action@v3 | |
- name: Scalafmt check | |
run: cd core && sbt "scalafmtCheckAll; scalafmtSbtCheck" | |
- name: build-and-test | |
env: | |
SBT_OPTS: -Xms512M -Xmx2048M -Xss2M -XX:MaxMetaspaceSize=1024M | |
run: ./scripts/build-core.sh +test | |
build-and-test-sbt-examples: | |
name: "sbt samples" | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
java: [ '8' ] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Cache SBT and Coursier cache | |
uses: coursier/cache-action@v3 | |
- name: test-sbt-examples | |
run: ./scripts/build-sbt-examples.sh test | |
build-and-test-mvn-examples: | |
name: "mvn samples" | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
java: [ '8' ] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Cache SBT and Coursier cache | |
uses: coursier/cache-action@v3 | |
- name: test-maven-examples | |
run: ./scripts/build-mvn-examples.sh test | |
fossa-checks: | |
name: "FOSSA checks" | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: FOSSA policy check | |
if: ${{ github.event_name != 'pull_request' }} | |
run: |- | |
cd core | |
curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/spectrometer/master/install.sh | bash | |
fossa analyze && fossa test | |
env: | |
FOSSA_API_KEY: "${{secrets.FOSSA_API_KEY}}" |