Skip to content

Commit

Permalink
[CI] Only run build checks when a rust related file has changed (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
Douile authored Sep 21, 2023
1 parent 1c9f2dc commit 1a60a04
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,18 @@ name: CI
on:
push:
branches: [ "main" ]
paths:
- "**.rs" # Any rust file
- "Cargo.toml"
- ".rustfmt.toml"
- ".github/workflows/ci.yml" # This action
pull_request:
branches: [ "main" ]
paths:
- "**.rs" # Any rust file
- "Cargo.toml"
- ".rustfmt.toml"
- ".github/workflows/ci.yml" # This action

env:
CARGO_TERM_COLOR: always
Expand Down

0 comments on commit 1a60a04

Please sign in to comment.