Skip to content

Commit

Permalink
ci: Lint check
Browse files Browse the repository at this point in the history
  • Loading branch information
gdupontf committed Nov 27, 2023
1 parent 705268d commit 78a53f4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
- name: Did linting pass?
run: "[[ $WAS_DIRTY = true ]] && exit 1"
if: ${{ env.WAS_DIRTY == 'true' }}
uses: actions/github-script@v3
with:
script: |
core.setFailed('Repository was dirty after lint pass')
- name: Build with Maven
run: ./mvnw -B package -Drevision='${{ steps.increment-version.outputs.new-version }}' -Dchangelist='-SNAPSHOT' --file pom.xml -P pr

0 comments on commit 78a53f4

Please sign in to comment.