forked from only52607/compose-floating-window
-
-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (38 loc) · 954 Bytes
/
lint.yml
File metadata and controls
47 lines (38 loc) · 954 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Run Lint
on:
pull_request:
paths-ignore:
- '**/*.md'
- '**/*.txt'
- '.gitignore'
- 'LICENSE'
- 'docs/**'
- '.github/**'
- '!.github/workflows/**'
- 'renovate.json'
- '.devcontainer/**'
env:
JAVA_VERSION: 17
JAVA_DISTRO: 'temurin'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Validate Gradle Wrapper
uses: gradle/actions/wrapper-validation@v5
- name: Set up JDK 17
uses: actions/setup-java@v5
with:
java-version: ${{ env.JAVA_VERSION }}
distribution: ${{ env.JAVA_DISTRO }}
- name: Set up gradle
uses: gradle/actions/setup-gradle@v5
- name: Run Lint
run: |
git fetch origin master
./gradlew spotlessCheck