Update build pipeline to notarize macOS releases #189
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: Kotlin Lint | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- "*" | |
jobs: | |
lint: | |
name: Kotlin Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
ssh-key: ${{ secrets.DEPLOY_KEY }} | |
submodules: recursive | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: '20' | |
cache: gradle | |
- name: Lint | |
continue-on-error: true | |
run: ./gradlew --continue lintKotlin | |
- uses: jwgmeligmeyling/checkstyle-github-action@a12be500c097a5cedab881d4785ef9b4a4d3ee6a | |
with: | |
name: Kotlin Lint | |
title: Kotlin Lint report | |
path: '**/build/reports/ktlint/*.xml' | |
- name: Fail If Needed | |
run: ./gradlew lintKotlin |