Skip to content

Commit abcf9f2

Browse files
authored
Update main.workflow
1 parent 8f8644e commit abcf9f2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/main.workflow

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
workflow "Main" {
22
on = "push"
3-
resolves = ["Format", "Clippy", "Build", "Test"]
3+
resolves = ["Test"]
44
}
55

66
action "Format" {
@@ -10,15 +10,18 @@ action "Format" {
1010

1111
action "Clippy" {
1212
uses = "icepuma/rust-action@master"
13+
needs = ["Format"]
1314
args = "cargo clippy -- -Dwarnings"
1415
}
1516

1617
action "Build" {
1718
uses = "icepuma/rust-action@master"
19+
needs = ["Clippy"]
1820
args = "cargo build"
1921
}
2022

2123
action "Test" {
2224
uses = "icepuma/rust-action@master"
25+
needs = ["Build"]
2326
args = "cargo test"
2427
}

0 commit comments

Comments
 (0)