Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

add mutexes

add mutexes #77

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