mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2024-11-10 01:01:56 +01:00
ci(analyze): only run when necessary (#766)
* ci(analyser): only run on lib/`.dart` changes * ci(analyser): runs on workflow changes * ci(analyze): run on all dart file changes --------- Co-authored-by: Palm <palmpasuthorn@gmail.com>
This commit is contained in:
parent
fa4063220f
commit
7839252934
1 changed files with 7 additions and 1 deletions
8
.github/workflows/analyze.yml
vendored
8
.github/workflows/analyze.yml
vendored
|
@ -3,8 +3,14 @@ name: Analyze Code
|
|||
on:
|
||||
push:
|
||||
branches: [ "main", "dev" ]
|
||||
paths:
|
||||
- "**.dart"
|
||||
- ".github/workflows/analyze.yml"
|
||||
pull_request:
|
||||
branches: [ "main", "dev" ]
|
||||
paths:
|
||||
- "**.dart"
|
||||
- ".github/workflows/analyze.yml"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -23,4 +29,4 @@ jobs:
|
|||
- name: Analyze code
|
||||
uses: ValentinVignal/action-dart-analyze@v0.15
|
||||
with:
|
||||
fail-on: warning
|
||||
fail-on: warning
|
||||
|
|
Loading…
Reference in a new issue