File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 branches :
77 - main
88 schedule :
9- - cron : ' 00 00 * * *'
9+ - cron : " 00 00 * * *"
1010
1111jobs :
1212 test :
@@ -69,23 +69,23 @@ jobs:
6969 os : macos-latest
7070 rust : nightly
7171 - build : win-msvc
72- os : windows-2019
72+ os : windows-2022
7373 rust : nightly
7474 - build : win-gnu
75- os : windows-2019
75+ os : windows-2022
7676 rust : nightly-x86_64-gnu
7777
7878 steps :
7979 - name : Checkout repository
8080 uses : actions/checkout@v2
8181
8282 - name : Install Rust
83- 83+ id : toolchain
84+ uses : dtolnay/rust-toolchain@master
8485 with :
85- profile : minimal
8686 toolchain : ${{ matrix.rust }}
87- override : true
88- components : rustfmt, clippy
87+ - run : rustup override set ${{steps.toolchain.outputs.name}}
88+ - run : rustup component add rustfmt clippy
8989
9090 - name : Use Cross
9191 if : matrix.target != '' && matrix.build != 'wasm32'
@@ -125,12 +125,9 @@ jobs:
125125 - name : Checkout repository
126126 uses : actions/checkout@v2
127127 - name : Install Rust
128- 129- with :
130- toolchain : stable
131- override : true
132- profile : minimal
133- components : rustfmt
128+ id : toolchain
129+ uses : dtolnay/rust-toolchain@stable
130+ - run : rustup component add rustfmt
134131 - name : Check formatting
135132 run : |
136133 cargo fmt --all -- --check
Original file line number Diff line number Diff line change 1919 # branches:
2020 # - ag/release
2121 tags :
22- - ' [0-9]+.[0-9]+.[0-9]+**'
22+ - " [0-9]+.[0-9]+.[0-9]+**"
2323jobs :
2424 create-release :
2525 name : create-release
6464
6565 build-release :
6666 name : build-release
67- needs : [' create-release' ]
67+ needs : [" create-release" ]
6868 runs-on : ${{ matrix.os }}
6969 env :
7070 # For some builds, we use cross to test on 32-bit and big-endian
@@ -118,12 +118,12 @@ jobs:
118118 # ci/macos-install-packages
119119
120120 - name : Install Rust
121- 121+ id : toolchain
122+ uses : dtolnay/rust-toolchain@master
122123 with :
123124 toolchain : ${{ matrix.rust }}
124- profile : minimal
125- override : true
126- target : ${{ matrix.target }}
125+ - run : rustup override set ${{steps.toolchain.outputs.name}}
126+ - run : rustup target add ${{ matrix.target }}
127127
128128 - name : Use Cross
129129 if : matrix.target != '' && matrix.build != 'wasm32'
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ permissions:
1212 id-token : write
1313
1414concurrency :
15- group : ' pages'
15+ group : " pages"
1616 cancel-in-progress : true
1717
1818jobs :
2323 uses : actions/checkout@v3
2424
2525 - name : Install Rust
26- 27- with :
28- profile : minimal
29- toolchain : 1.64.0
30- override : true
31-
26+ id : toolchain
27+ 28+ - run : rustup override set ${{steps.toolchain.outputs.name}}
3229 - name : Use Node.js
3330 uses : actions/setup-node@v3
3431 with :
You can’t perform that action at this time.
0 commit comments