Commit 6679baf 1 parent fbc291c commit 6679baf Copy full SHA for 6679baf
File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -34,19 +34,29 @@ jobs:
34
34
steps :
35
35
- name : Check out the repo
36
36
uses : hsheth2/sane-checkout-action@v1
37
+ - uses : dorny/paths-filter@v2
38
+ id : filter
39
+ with :
40
+ filters : |
41
+ skip-lint:
42
+ - '!(docs-website/**|docs/**|**.md)'
37
43
- uses : actions/setup-python@v4
44
+ if : ${{ steps.filter.outputs.skip-lint == 'true' }}
38
45
with :
39
46
python-version : " 3.10"
40
47
cache : " pip"
41
48
- name : Set up JDK 17
49
+ if : ${{ steps.filter.outputs.skip-lint == 'true' }}
42
50
uses : actions/setup-java@v3
43
51
with :
44
52
distribution : " zulu"
45
53
java-version : 17
46
54
- name : Ensure packages are correct
55
+ if : ${{ steps.filter.outputs.skip-lint == 'true' }}
47
56
run : |
48
57
python ./.github/scripts/check_python_package.py
49
58
- name : Run lint on smoke test
59
+ if : ${{ steps.filter.outputs.skip-lint == 'true' }}
50
60
run : |
51
61
./gradlew :smoke-test:lint
52
62
setup :
You can’t perform that action at this time.
0 commit comments