Skip to content

Commit

Permalink
Add GitHub action to check formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
emichael committed Nov 6, 2023
1 parent dbf2462 commit bb9b635
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,18 @@ jobs:
- run: make all
- run: make test

check-format:
name: Check formatting
runs-on: ubuntu-latest
steps:
- uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '17'
cache: 'gradle'

- run: make check-format

publish:
needs: test
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'emichael/dslabs' }}
Expand Down

0 comments on commit bb9b635

Please sign in to comment.