File tree Expand file tree Collapse file tree 2 files changed +7
-10
lines changed Expand file tree Collapse file tree 2 files changed +7
-10
lines changed Original file line number Diff line number Diff line change 10
10
steps :
11
11
- uses : actions/checkout@v4
12
12
13
- - uses : actions-rs /toolchain@v1
13
+ - uses : dtolnay /toolchain@stable
14
14
with :
15
15
toolchain : stable
16
16
20
20
sudo apt-get install -y libssl-dev pkg-config protobuf-compiler
21
21
22
22
- name : Check code formating
23
- uses : actions-rs/cargo@v1
23
+ uses : mbrobbel/rustfmt-check@master
24
24
with :
25
- command : fmt
26
- args : --check
25
+ token : ${{ secrets.GITHUB_TOKEN }}
27
26
28
27
- name : Clippy linting
29
28
uses : giraffate/clippy-action@v1
Original file line number Diff line number Diff line change @@ -43,15 +43,13 @@ jobs:
43
43
sudo apt-get install -y libssl-dev pkg-config protobuf-compiler
44
44
45
45
- name : Setup rust toolchain
46
- uses : actions-rs /toolchain@v1
47
- with : # seems to ignore rust-toolchain but it should be supported
46
+ uses : dtolnay /toolchain@stable
47
+ with :
48
48
toolchain : stable
49
49
50
+ # No replacement for actions-rs/rust-cargo
50
51
- name : Build release binary
51
- uses : actions-rs/cargo@v1
52
- with :
53
- command : build
54
- args : --release
52
+ run : cargo build --release
55
53
56
54
- name : Log in to gchr.io
57
55
uses : docker/login-action@v3
You can’t perform that action at this time.
0 commit comments