Skip to content

Commit 23ef248

Browse files
authored
Improve GHA (#152)
Improve GHA to only test necessary commits
1 parent 9ccafe6 commit 23ef248

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
on:
22
push:
3-
branches: [ master ]
3+
branches: [ staging, trying, master ]
44
pull_request:
5-
branches: [ master ]
65

76
name: Continuous integration
87

.github/workflows/clippy.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
on: [push, pull_request]
1+
on:
2+
push:
3+
branches: [ staging, trying, master ]
4+
pull_request:
25

36
name: Clippy check
47
jobs:

.github/workflows/rustfmt.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
on: [push, pull_request]
1+
on:
2+
push:
3+
branches: [ staging, trying, master ]
4+
pull_request:
25

36
name: Code formatting check
47

0 commit comments

Comments
 (0)