Skip to content

Commit

Permalink
restrict CI to specific path changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kbknapp committed Mar 29, 2024
1 parent 3893f98 commit ad0fade
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
---
on: [push, pull_request]
on:
push:
branches: main
pull_request:
paths:
- src/**
- Cargo.toml
- Cargo.lock
- build.rs

name: Continuous Integration

Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
---
on: pull_request
on:
pull_request:
paths:
- src/**/*.rs
- build.rs

name: PR Lints
jobs:
lints:
Expand Down

0 comments on commit ad0fade

Please sign in to comment.