Skip to content

Commit

Permalink
Add a linting workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lauzadis committed Apr 25, 2024
1 parent 90e3c87 commit 4666f24
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Lint

on:
push:
branches:
- '**'
- '!main'
pull_request:
branches: [ main ]
workflow_dispatch:

env:
PACKAGE_NAME: aws-crt-kotlin

jobs:
ktlint:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Lint ${{ env.PACKAGE_NAME }}
run: |
./gradlew ktlint

0 comments on commit 4666f24

Please sign in to comment.