Skip to content

Commit

Permalink
Prevent duplicate action runs
Browse files Browse the repository at this point in the history
  • Loading branch information
hansott committed Oct 2, 2024
1 parent 656a02b commit 2758c0c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
name: Rust Build

on:
push:
branches:
- main # Change this to your default branch if it's not 'main'
pull_request:
branches:
- main # Change this to your default branch if it's not 'main'
push: {}

jobs:
build:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Linting check
on:
workflow_call: {}
push: {}
pull_request: {}

jobs:
rustfmt:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Rust Unit Tests
on:
workflow_call: {}
push: {}
pull_request: {}

jobs:
build:
Expand Down

0 comments on commit 2758c0c

Please sign in to comment.