Fix offset issue for unapproved students (#57) #49
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: CI | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'oracle' | |
- run: ./gradlew lint --stacktrace | |
- run: ./gradlew spotlessApply --stacktrace | |
- name: Run git push | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "earphone-jack" | |
git add --all | |
git commit -m "Format files from commit $GITHUB_SHA" || true | |
git push |