Skip to content

Commit

Permalink
ci: Optimize GitHub Actions workflow to reduce duplicate CI runs
Browse files Browse the repository at this point in the history
  • Loading branch information
sanity committed Jan 19, 2025
1 parent e73dadf commit ac377ff
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
name: Build

on:
push:
branches: [ "**" ] # Run on all branches
pull_request:
push:
branches:
- main
- master
- develop
- 'releases/**'

env:
CARGO_TERM_COLOR: always
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
name: Test

on:
push:
branches: [ "**" ] # Run on all branches
pull_request:
push:
branches:
- main
- master
- develop
- 'releases/**'

env:
CARGO_TERM_COLOR: always
Expand Down

0 comments on commit ac377ff

Please sign in to comment.