on: pull_request: types: [opened, synchronize, reopened] jobs: library_snapshot: runs-on: docker container: image: registry.garrity.co:8443/gs/ci-scala:latest name: 'Build and Test Library Snapshot' env: GS_MAVEN_USER: ${{ vars.GS_MAVEN_USER }} GS_MAVEN_TOKEN: ${{ secrets.GS_MAVEN_TOKEN }} steps: - uses: actions/checkout@v4 name: 'Checkout Repository' - name: 'Pre-Commit' run: | pre-commit install pre-commit run --all-files - name: 'Unit Tests and Code Coverage' run: sbt clean coverage test coverageReport - name: 'Publish Snapshot' run: sbt clean publish