chore: add a posix source set for code which must run on Linux and Apple (POSIX-compliant) but not on MinGW/Windows (not POSIX-compliant)
#809
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 |