mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
ci: optimise action triggers
it is pointless to run CI jobs for pushes / PRs that only change files that would never cause a failure, such as documentation. this avoids wasting resources for such situations.
This commit is contained in:
parent
6f1bf7dd07
commit
013a2fdcbf
1 changed files with 2 additions and 0 deletions
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
@ -4,8 +4,10 @@ name: test
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [master, dev]
|
branches: [master, dev]
|
||||||
|
paths: ['**.rs', '**.toml', '**.lock', '**.yml']
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [master, dev]
|
branches: [master, dev]
|
||||||
|
paths: ['**.rs', '**.toml', '**.lock', '**.yml']
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
fmt:
|
fmt:
|
||||||
|
|
Loading…
Reference in a new issue