gs-uuid/.forgejo/workflows/pull_request.yaml
Pat Garrity d676f8a0ae
Some checks failed
/ Build and Test Library Snapshot (pull_request) Failing after 2m36s
Full code coverage and PR builds.
2024-03-17 21:46:46 -05:00

24 lines
697 B
YAML

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: ${{ vars.GS_MAVEN_TOKEN }}
steps:
- uses: actions/checkout@v4
name: 'Checkout ${{ env.GITHUB_HEAD_REF }}'
- 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