This repository has been archived by the owner on Jun 28, 2024. It is now read-only.
add mutexes #77
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: Build & lint | |
on: | |
push: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v2 | |
with: | |
java-version: 17 | |
distribution: zulu | |
- name: Download ktlint | |
run: curl -sSLO https://github.com/pinterest/ktlint/releases/download/1.1.1/ktlint && chmod a+x ktlint && sudo mv ktlint /usr/local/bin/ | |
- name: Run linter | |
run: ktlint **/*.kt | |
- name: Build | |
run: ./gradlew assembleRelease | |
- name: Test | |
run: ./gradlew :FishjamClient:testDebugUnitTest |