Run pitest workflow on dependabot-pitest branches, but don't overwrit… #646
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
# This name is shown in the status badge in the README | |
name: code-formatting | |
on: | |
push: | |
branches-ignore: | |
- 'tmp**' | |
pull_request: | |
branches-ignore: | |
- 'tmp**' | |
jobs: | |
test: | |
name: JDK ${{matrix.java}} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [17] | |
distribution: [temurin] | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: ${{ matrix.distribution }} | |
- name: Check code formatting | |
run: ./gradlew spotlessCheck |