Skip to content

Commit

Permalink
Don't run rustfmt and clippy multiple times per PR
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
  • Loading branch information
therealprof committed Jun 2, 2020
1 parent 63b5e38 commit 33e16f1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
on: [push, pull_request]
on:
push:
branches: [ staging, trying, master ]
pull_request:

name: Clippy check
jobs:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/rustfmt.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
on: [push, pull_request]
on:
push:
branches: [ staging, trying, master ]
pull_request:

name: Code formatting check

Expand Down

0 comments on commit 33e16f1

Please sign in to comment.