feat: add paths to workflow trigger

This commit is contained in:
Bart van der Braak 2023-11-11 21:39:03 +01:00 committed by GitHub
parent 7f1e459daa
commit 2e124fac61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,11 +2,11 @@ name: Checks
on:
push:
branches:
- main
branches: [ main ]
paths: [ 'src/**', 'Cargo.toml', 'Cargo.lock' ]
pull_request:
branches:
- main
branches: [ main ]
paths: [ 'src/**', 'Cargo.toml', 'Cargo.lock' ]
jobs:
fmt: