diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 22e8a52..29094b2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,7 +1,14 @@ -on: [push, pull_request] - name: Build +on: + pull_request: + push: + paths: + - '.github/workflows/build.yml' + - '**/Cargo.toml' + - '**/Cargo.lock' + - '**/src/*' + jobs: build_and_test: name: Rust project