build(deps): update scalameta from 4.15.2 to 4.16.0 #4825
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: CI | |
| on: | |
| push: | |
| branches: [master] | |
| tags: ['v*'] | |
| pull_request: | |
| types: [synchronize, opened, reopened] | |
| jobs: | |
| test: | |
| name: Test on JDK ${{matrix.java-version}} (${{matrix.os}}) | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| java-version: [17, 21] | |
| os: ['ubuntu-latest', 'windows-latest'] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: ./.github/setup | |
| with: | |
| java-version: ${{ matrix.java-version }} | |
| - name: Run tests | |
| run: sbt 'compile; ++2.13 test' | |
| sbt-scripted: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| name: sbt 1 plugin scripted tests (${{ matrix.os }}) | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: ./.github/setup | |
| - name: Run tests | |
| run: sbt 'sbtTestRunner2_12/publishLocal; sbtPlugin/scripted' | |
| sbt-scripted-2: | |
| name: sbt 2 plugin scripted tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: ./.github/setup | |
| - name: Run tests | |
| run: sbt 'sbtTestRunner2_12/publishLocal; sbtPlugin3/scripted' | |
| maven-plugin: | |
| name: Test Maven plugin | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: coursier/cache-action@90c37294538be80a558fd665531fcdc2b467b475 # v8.1.0 | |
| - uses: ./.github/setup | |
| with: | |
| cache: 'maven' | |
| - name: Cleanup M2 | |
| run: rm -rf ~/.m2/repository/io/stryker-mutator/*/SET-BY-SBT-SNAPSHOT/ | |
| - name: Publish core | |
| run: sbt 'publishM2Local' | |
| - name: Run Maven tests | |
| run: | | |
| cd maven | |
| mvn verify -B --no-transfer-progress | |
| formatting: | |
| name: Test formatting | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: coursier/cache-action@90c37294538be80a558fd665531fcdc2b467b475 # v8.1.0 | |
| with: | |
| extraFiles: 'bin/scalafmt,.scalafmt.conf' | |
| extraKey: 'scalafmt' | |
| - uses: ./.github/setup | |
| - name: Test formatting | |
| run: ./bin/scalafmt --test | |
| release: | |
| needs: [test, sbt-scripted, sbt-scripted-2, maven-plugin, formatting] | |
| if: ${{ github.ref == 'refs/heads/master' || startsWith(github.event.ref, 'refs/tags/') }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| # Fetch all commits, used by sbt-dynver plugin to determine version | |
| fetch-depth: 0 | |
| # Fetch all tags | |
| - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* | |
| - uses: ./.github/setup | |
| with: | |
| java-version: 17 | |
| - name: Publish | |
| run: sbt ci-release | |
| env: | |
| CI_RELEASE: stryker4sPublishSigned | |
| PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} | |
| MAVEN_GPG_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} | |
| PGP_SECRET: ${{ secrets.PGP_SECRET }} | |
| SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} | |
| SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} |