fix: run coverage on Scala 3 only (scoverage plugin not available for… #6
Workflow file for this run
This file contains hidden or 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: Release | |
| on: | |
| push: | |
| tags: | |
| - "v[0-9]*" | |
| jobs: | |
| # Run CI checks first | |
| ci: | |
| uses: ./.github/workflows/ci.yml | |
| permissions: | |
| contents: read | |
| publish: | |
| needs: ci | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| packages: write | |
| id-token: write # For trusted publishing | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 # Needed for sbt-dynver | |
| - name: Setup JVM | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: "21" | |
| distribution: "temurin" | |
| cache: "sbt" | |
| - name: Setup sbt | |
| uses: sbt/setup-sbt@v1 | |
| - name: Import GPG key | |
| run: | | |
| echo "${{ secrets.PGP_SECRET }}" | base64 --decode | gpg --batch --import | |
| echo "GPG keys imported:" | |
| gpg --list-secret-keys | |
| - name: Release | |
| run: sbt ci-release | |
| env: | |
| PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} | |
| PGP_SECRET: ${{ secrets.PGP_SECRET }} | |
| SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} | |
| SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} |