Skip to content

Commit

Permalink
Only build tool when source code changed
Browse files Browse the repository at this point in the history
  • Loading branch information
dag-andersen committed Oct 21, 2024
1 parent 888eac2 commit c8a67b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/generate-diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- "examples/**"

jobs:
build:
render-diff:
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
pull_request:
branches:
- "main"
paths:
- "src/**"
- Cargo.toml

jobs:
build-amd64:
Expand Down

0 comments on commit c8a67b5

Please sign in to comment.