Update dependency org.apache.maven:maven-plugin-api to v3.9.4 (#112) #245
This file contains 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: scalafix | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
command: | |
- "-Pscala-2.12" | |
- "-Pscala-2.13" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: zulu | |
java-version: 18.0.2+9 | |
- name: Check code with Scalafix | |
run: mvn -Dgpg.skip ${{ matrix.command }} clean install && mvn ${{ matrix.command }} org.spurint.maven.plugins:scala-cross-maven-plugin:rewrite-pom scalafix:scalafix -Dscalafix.mode=CHECK |