Update actions/checkout digest to eef6144 #479
Workflow file for this run
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@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v4 | |
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 |