File tree Expand file tree Collapse file tree 1 file changed +52
-0
lines changed Expand file tree Collapse file tree 1 file changed +52
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : build
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ pull_request :
8
+ branches :
9
+ - main
10
+ workflow_dispatch :
11
+
12
+ jobs :
13
+ build :
14
+ runs-on : ubuntu-latest
15
+ name : 🚧 Build
16
+ steps :
17
+ - uses : actions/checkout@v4
18
+ - run : cargo build --release
19
+ - name : Upload release artifact
20
+ uses : actions/upload-artifact@v4
21
+ with :
22
+ name : phantomlink
23
+ path : target/release/phantomlink
24
+
25
+ ensure-cargo-fmt :
26
+ runs-on : ubuntu-latest
27
+ name : 🎨 Format
28
+ steps :
29
+ - uses : actions/checkout@v4
30
+ - run : cargo fmt -- --check
31
+
32
+ ensure-cargo-audit :
33
+ runs-on : ubuntu-latest
34
+ name : 🔒 Audit
35
+ steps :
36
+ - uses : actions/checkout@v4
37
+ - run : cargo audit
38
+
39
+ ensure-cargo-test :
40
+ runs-on : ubuntu-latest
41
+ name : 🧪 Test
42
+ steps :
43
+ - uses : actions/checkout@v4
44
+ - run : cargo test
45
+
46
+ ensure-cargo-clippy :
47
+ runs-on : ubuntu-latest
48
+ name : 📎 Clippy
49
+ steps :
50
+ - uses : actions/checkout@v4
51
+ - run : cargo clippy
52
+
You can’t perform that action at this time.
0 commit comments