build: only run tests on java/gradle/resource changes (#2453)

* build: only run tests on java/gradle/resource changes

* fix: codeql only runs on java/resource changes
This commit is contained in:
Connor Tumbleson 2020-12-01 07:08:32 -05:00 committed by GitHub
parent a2356faf92
commit b49bd95489
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 1 deletions

View File

@ -3,8 +3,16 @@ name: "CodeQL"
on:
push:
branches: [ master ]
paths:
- '**.java'
- '**.gradle'
- 'brut.apktool/apktool-lib/src/main/resources/**'
pull_request:
branches: [ master ]
paths:
- '**.java'
- '**.gradle'
- 'brut.apktool/apktool-lib/src/main/resources/**'
jobs:
analyze:

View File

@ -1,5 +1,10 @@
name: CI
on: [push]
on:
push:
paths:
- '**.java'
- '**.gradle'
- 'brut.apktool/apktool-lib/src/main/resources/**'
jobs:
build-and-test-with-Java-8-and-later: