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 22
33on :
44 push :
5- branches : [ master , staging, trying ]
5+ branches : [ main , staging, trying ]
66 pull_request :
77
88jobs :
3131 steps :
3232 - uses : actions/checkout@v2
3333 - 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 }}
4037 - name : Check
4138 run : cargo check --target ${{ matrix.target }}
4239 env :
4744 steps :
4845 - uses : actions/checkout@v2
4946 - 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
5550 - name : Check fmt
5651 run : cargo fmt -- --check
5752
You can’t perform that action at this time.
0 commit comments