Add more precise setting for auto print (#115) #485
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 ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: local.properties pretixscan | |
run: echo "github.token=${{ secrets.GITHUB_TOKEN }}" > local.properties | |
working-directory: ./pretixscan | |
- name: set up JDK | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 17 | |
- name: Submodules | |
run: git submodule update --init | |
working-directory: ./pretixscan | |
- name: Unit tests | |
run: TERM=dumb ./gradlew lintPretixDebug assemblePretixDebug | |
working-directory: ./pretixscan |