Skip to content

Commit

Permalink
ci: run cargo & clippy tests only on code changes (amber-lang#379)
Browse files Browse the repository at this point in the history
* ci: run cargo & clippy tests only on code changes

* ci: try to prevent them running on PRs as well
  • Loading branch information
b1ek authored Aug 1, 2024
1 parent cacbb5e commit c31be91
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,21 @@ name: Cargo & Clippy Test
on:
push:
branches: [master]
paths:
- src/**
- test_files/**
- .cargo/**
- Cargo.toml
- Cargo.lock
- rust-toolchain.toml
pull_request:
paths:
- src/**
- test_files/**
- .cargo/**
- Cargo.toml
- Cargo.lock
- rust-toolchain.toml

env:
CARGO_TERM_COLOR: always
Expand Down

0 comments on commit c31be91

Please sign in to comment.