Skip to content

Commit

Permalink
Run rust workflows on commits to main
Browse files Browse the repository at this point in the history
  • Loading branch information
lebedenko-ubique committed Sep 19, 2024
1 parent 75353bc commit b01f7c0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/rust_clippy_check.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
name: Rust Clippy Check
'on':
- pull_request
- workflow_dispatch
pull_request:
workflow_dispatch:
push:
branches:
- main
jobs:
clippy:
runs-on: ubuntu-latest
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/rust_format_check.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
name: Rust Format Check
'on':
- pull_request
- workflow_dispatch
pull_request:
workflow_dispatch:
push:
branches:
- main
jobs:
rustfmt:
runs-on: ubuntu-latest
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/rust_test_report.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
name: Rust Test & Report
'on':
- pull_request
- workflow_dispatch
pull_request:
workflow_dispatch:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
Expand Down

0 comments on commit b01f7c0

Please sign in to comment.