docs: add v3.0 transformations to documentation #69
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*"] | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: release-${{ github.ref }} | |
| cancel-in-progress: false | |
| jobs: | |
| # ── Run full test suite before publishing ─────────────────────────── | |
| test: | |
| name: Pre-release tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: 11 | |
| cache: sbt | |
| - uses: sbt/setup-sbt@v1 | |
| - name: Check formatting | |
| run: sbt scalafmtCheckAll | |
| - name: Build and test with coverage | |
| run: sbt clean coverage test coverageReport coverageAggregate | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| slug: eff3ct0/teckel | |
| files: target/scala-*/scoverage-report/scoverage.xml | |
| fail_ci_if_error: true | |
| # ── Publish to Sonatype Central ───────────────────────────────────── | |
| publish: | |
| name: Publish to Maven Central | |
| needs: test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: 11 | |
| cache: sbt | |
| - uses: sbt/setup-sbt@v1 | |
| - name: Publish via sbt-ci-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 }} |