Skip to content

Commit

Permalink
Trigger CI jobs only when source code is changed
Browse files Browse the repository at this point in the history
  • Loading branch information
grtcdr committed Oct 29, 2024
1 parent 37d6c0e commit f0bb6f7
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/macchina.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
on: [push, pull_request]

name: CI

on:
push:
- 'src/**'
- 'vendor/**'
- 'Cargo.toml'
- 'Cargo.lock'
pull_request:
- 'src/**'
- 'vendor/**'
- 'Cargo.toml'
- 'Cargo.lock'

jobs:
lint:
runs-on: ubuntu-latest
Expand Down

0 comments on commit f0bb6f7

Please sign in to comment.