File tree Expand file tree Collapse file tree 1 file changed +7
-12
lines changed Expand file tree Collapse file tree 1 file changed +7
-12
lines changed Original file line number Diff line number Diff line change 2
2
3
3
on :
4
4
push :
5
- branches : [ master , staging, trying ]
5
+ branches : [ main , staging, trying ]
6
6
pull_request :
7
7
8
8
jobs :
31
31
steps :
32
32
- uses : actions/checkout@v2
33
33
- name : Install Rust
34
- uses : actions-rs/toolchain@v1
35
- with :
36
- toolchain : ${{ matrix.rust_version }}
37
- target : ${{ matrix.target }}
38
- profile : minimal
39
- override : true
34
+ run : |
35
+ rustup install --profile=minimal ${{ matrix.rust_version }}
36
+ rustup target add ${{ matrix.target }}
40
37
- name : Check
41
38
run : cargo check --target ${{ matrix.target }}
42
39
env :
47
44
steps :
48
45
- uses : actions/checkout@v2
49
46
- name : Install Rust stable
50
- uses : actions-rs/toolchain@v1
51
- with :
52
- toolchain : stable
53
- profile : minimal
54
- components : rustfmt
47
+ run : |
48
+ rustup install --profile=minimal stable
49
+ rustup component add rustfmt
55
50
- name : Check fmt
56
51
run : cargo fmt -- --check
57
52
You can’t perform that action at this time.
0 commit comments