gs-uuid/.forgejo/workflows/pull_request.yaml
Pat Garrity 4a9c972917
All checks were successful
/ Build and Test Library Snapshot (pull_request) Successful in 1m18s
omg i fixed it
2024-03-18 21:13:24 -05:00

24 lines
684 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: ${{ 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