diff --git a/.github/workflows/pr-main.yml b/.github/workflows/pr-main.yml index e56c1b9..b81159b 100644 --- a/.github/workflows/pr-main.yml +++ b/.github/workflows/pr-main.yml @@ -4,9 +4,21 @@ on: pull_request: branches: - main + paths: + - "src" + - "Cargo*" + - ".cargo" + - ".github/workflows/pr-main.yml" + - "rustfmt.toml" push: branches: - main + paths: + - "src" + - "Cargo*" + - ".cargo" + - ".github/workflows/pr-main.yml" + - "rustfmt.toml" env: CARGO_TERM_COLOR: always