-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (30 loc) · 857 Bytes
/
Copy pathdebug-actions.yml
File metadata and controls
30 lines (30 loc) · 857 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: debug-actions
on:
push:
branches-ignore:
- 'master'
- 'development'
jobs:
check-ktlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- name: Caching gradle
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Make gradlew executable
run: chmod +x ./gradlew
- name: Check ktlint on wordup-core
run: ./gradlew wordup-core:ktlintCheck
- name: Check ktlint on example
run: ./gradlew example:ktlintCheck