fix: use consistent version of ktlint in build-support plugin and ensure that kotlin-compiler-embeddable isn't in buildscript classpaths #377
Workflow file for this run
This file contains hidden or 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: Lint | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| - '!main' | |
| pull_request: | |
| branches: [ main ] | |
| workflow_dispatch: | |
| env: | |
| PACKAGE_NAME: aws-kotlin-repo-tools | |
| jobs: | |
| ktlint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v2 | |
| - name: Run ls | |
| run: ls & pwd | |
| - name: Configure Gradle | |
| uses: ./.github/actions/configure-gradle | |
| - name: Lint ${{ env.PACKAGE_NAME }} | |
| run: | | |
| ./gradlew ktlint |