File tree Expand file tree Collapse file tree 5 files changed +22
-56
lines changed Expand file tree Collapse file tree 5 files changed +22
-56
lines changed Original file line number Diff line number Diff line change @@ -12,19 +12,14 @@ jobs:
1212    strategy :
1313      matrix :
1414        include :
15-           - rust : stable 
16-             features : thumbv6 
15+           - features : thumbv6 
1716            nodefault : " --no-default-features" 
18-           - rust : stable 
19-             features : " " 
17+           - features : " " 
2018            nodefault : " " 
2119
2220    steps :
23-       - uses : actions/checkout@v2 
24-       - uses : actions-rs/toolchain@v1 
25-         with :
26-           profile : minimal 
27-           toolchain : ${{ matrix.rust }} 
21+       - uses : actions/checkout@v4 
22+       - uses : dtolnay/rust-toolchain@stable 
2823      - uses : actions-rs/cargo@v1 
2924        with :
3025          command : test 
Original file line number Diff line number Diff line change @@ -14,20 +14,13 @@ jobs:
1414        include :
1515          - features : " " 
1616            target : thumbv7em-none-eabihf 
17-             rust : stable 
1817          - feature : thumbv6 
1918            target : thumbv6m-none-eabi 
20-             rust : stable 
2119
2220    steps :
23-       - uses : actions/checkout@v2  
24-       - uses : actions-rs/ toolchain@v1 
21+       - uses : actions/checkout@v4  
22+       - uses : dtolnay/rust- toolchain@stable 
2523        with :
26-           profile : minimal 
27-           toolchain : ${{ matrix.rust }} 
28-       - run : rustup target add thumbv7em-none-eabihf thumbv6m-none-eabi 
24+           targets : thumbv6m-none-eabi, thumbv7em-none-eabihf 
2925
30-       - uses : actions-rs/cargo@v1 
31-         with :
32-           command : build 
33-           args : --manifest-path core/Cargo.toml --no-default-features --features=${{ matrix.feature }} --target=${{ matrix.target }} 
26+       - run : cargo build --manifest-path core/Cargo.toml --no-default-features --features=${{ matrix.feature }} --target=${{ matrix.target }} 
Original file line number Diff line number Diff line change 1111    name : Rustfmt 
1212    runs-on : ubuntu-latest 
1313    steps :
14-       - uses : actions/checkout@v2  
15-       - uses : actions-rs/ toolchain@v1 
14+       - uses : actions/checkout@v4  
15+       - uses : dtolnay/rust- toolchain@stable 
1616        with :
17-           profile : minimal 
18-           toolchain : stable 
19-           override : true 
2017          components : rustfmt 
21-       - uses : actions-rs/cargo@v1 
22-         with :
23-           command : fmt 
24-           args : --all -- --check 
18+       - run : cargo fmt --all -- --check 
Original file line number Diff line number Diff line change @@ -12,19 +12,10 @@ jobs:
1212    strategy :
1313      matrix :
1414        include :
15-           - rust : stable 
16-             build : " " 
17-           - rust : stable 
18-             build : " --release" 
15+           - build : " " 
16+           - build : " --release" 
1917
2018    steps :
21-       - uses : actions/checkout@v2 
22-       - uses : actions-rs/toolchain@v1 
23-         with :
24-           profile : minimal 
25-           toolchain : ${{ matrix.rust }} 
26- 
27-       - uses : actions-rs/cargo@v1 
28-         with :
29-           command : test 
30-           args : ${{ matrix.build }} --features=short-potato --manifest-path bbqtest/Cargo.toml -- --nocapture 
19+       - uses : actions/checkout@v4 
20+       - uses : dtolnay/rust-toolchain@stable 
21+       - run : cargo test ${{ matrix.build }} --features=short-potato --manifest-path bbqtest/Cargo.toml -- --nocapture 
Original file line number Diff line number Diff line change @@ -12,24 +12,17 @@ jobs:
1212    strategy :
1313      matrix :
1414        include :
15-           - rust : nightly 
16-             build : " " 
17-           - rust : nightly 
18-             build : " --release" 
15+           - build : " " 
16+           - build : " --release" 
1917
2018    steps :
21-       - uses : actions/checkout@v2  
22-       - uses : actions-rs/ toolchain@v1 
19+       - uses : actions/checkout@v4  
20+       - uses : dtolnay/rust- toolchain@stable 
2321        with :
24-           profile :  minimal 
22+           toolchain :  nightly 
2523          components : rust-src 
26-           toolchain : ${{ matrix.rust }} 
2724
28-       - uses : actions-rs/cargo@v1 
29-         with :
30-           command : test 
31-           toolchain : nightly 
32-           args : ${{ matrix.build }} --features=short-potato --manifest-path bbqtest/Cargo.toml -Zbuild-std --target x86_64-unknown-linux-gnu -- --nocapture 
25+       - run : cargo test ${{ matrix.build }} --features=short-potato --manifest-path bbqtest/Cargo.toml -Zbuild-std --target x86_64-unknown-linux-gnu -- --nocapture 
3326        env :
3427          RUSTFLAGS : " -Z sanitizer=thread" 
3528          RUST_TEST_THREADS : 1 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments