Skip to content

Submit sbt dependencies to GitHub for vulnerability monitoring #182

Submit sbt dependencies to GitHub for vulnerability monitoring

Submit sbt dependencies to GitHub for vulnerability monitoring #182

Workflow file for this run

name: CI
on:
workflow_dispatch:
pull_request:
# triggering CI default branch improves caching
# see https://docs.github.com/en/free-pro-team@latest/actions/guides/caching-dependencies-to-speed-up-workflows#restrictions-for-accessing-a-cache
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup JDK
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
cache: sbt
- name: Build and Test
env:
PROUT_GITHUB_ACCESS_TOKEN: ${{ secrets.PROUT_GITHUB_ACCESS_TOKEN }}
run: sbt -v test
- name: Test Summary
uses: test-summary/action@v2
if: always()
with:
paths: "test-results/**/TEST-*.xml"