File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -13,13 +13,21 @@ jobs:
13
13
uses :
mozilla-actions/[email protected]
14
14
- name : Install glib/gtk dev
15
15
run : sudo apt-get install -y libgtk-4-bin libgtk-4-common libgtk-4-dev libgstreamer1.0-dev gstreamer1.0-plugins-good libdiscid-dev
16
+ - name : check cargo fmt
17
+ uses : actions-rs/cargo@v1
18
+ with :
19
+ command : fmt
20
+ args : --all -- --check
21
+ - uses : actions-rs/clippy-check@v1
22
+ with :
23
+ args : --all-features
16
24
- name : Build
17
25
run : cargo build --release
18
26
- name : Run tests
19
27
run : cargo test
20
28
- uses : actions/upload-artifact@v3
21
29
with :
22
- name : ripperx4
30
+ name : ripperx4-linux
23
31
path : target/release/ripperx4
24
32
build-macos :
25
33
runs-on : macos-latest
@@ -29,11 +37,19 @@ jobs:
29
37
uses :
mozilla-actions/[email protected]
30
38
- name : Install glib/gtk dev
31
39
run : brew install gtk4 gstreamer libdiscid sccache
40
+ - name : check cargo fmt
41
+ uses : actions-rs/cargo@v1
42
+ with :
43
+ command : fmt
44
+ args : --all -- --check
45
+ - uses : actions-rs/clippy-check@v1
46
+ with :
47
+ args : --all-features
32
48
- name : Build
33
49
run : cargo build --release
34
50
- name : Run tests
35
51
run : cargo test
36
52
- uses : actions/upload-artifact@v3
37
53
with :
38
- name : ripperx4
54
+ name : ripperx4-macos
39
55
path : target/release/ripperx4
You can’t perform that action at this time.
0 commit comments