@@ -14,28 +14,25 @@ jobs:
1414 - arm-unknown-linux-gnueabi
1515 - x86_64-apple-darwin
1616 - x86_64-pc-windows-msvc
17- rust : [stable]
1817 lua : [lua54, lua53, lua52, lua51]
1918 include :
2019 - target : x86_64-unknown-linux-gnu
21- os : ubuntu-18.04
20+ os : ubuntu-latest
2221 - target : i686-unknown-linux-gnu
23- os : ubuntu-18.04
22+ os : ubuntu-latest
2423 - target : x86_64-pc-windows-gnu
25- os : ubuntu-18.04
24+ os : ubuntu-latest
2625 - target : arm-unknown-linux-gnueabi
27- os : ubuntu-18.04
26+ os : ubuntu-latest
2827 - target : x86_64-apple-darwin
2928 os : macos-latest
3029 - target : x86_64-pc-windows-msvc
3130 os : windows-latest
3231 steps :
33- - uses : actions/checkout@v2
34- - uses : actions-rs/ toolchain@v1
32+ - uses : actions/checkout@v3
33+ - uses : dtolnay/rust- toolchain@stable
3534 with :
36- toolchain : ${{ matrix.rust }}
3735 target : ${{ matrix.target }}
38- override : false
3936 - name : Install GCC (i686-unknown-linux-gnu)
4037 if : ${{ matrix.target == 'i686-unknown-linux-gnu' }}
4138 run : |
@@ -65,36 +62,31 @@ jobs:
6562 needs : build
6663 strategy :
6764 matrix :
68- os : [ubuntu-18.04, macos-latest, windows-latest]
69- rust : [stable]
65+ os : [ubuntu-latest, macos-latest, windows-latest]
7066 lua : [lua54, lua53, lua52, lua51]
7167 include :
72- - os : ubuntu-18.04
68+ - os : ubuntu-latest
7369 target : x86_64-unknown-linux-gnu
7470 - os : macos-latest
7571 target : x86_64-apple-darwin
7672 - os : windows-latest
7773 target : x86_64-pc-windows-msvc
7874 steps :
79- - uses : actions/checkout@v2
80- - uses : actions-rs/ toolchain@v1
75+ - uses : actions/checkout@v3
76+ - uses : dtolnay/rust- toolchain@stable
8177 with :
82- toolchain : ${{ matrix.rust }}
8378 target : ${{ matrix.target }}
84- override : true
8579 - name : Run ${{ matrix.lua }} tests
8680 run : |
8781 cargo test --manifest-path testcrate/Cargo.toml --release --no-default-features --features ${{ matrix.lua }}
8882 shell : bash
8983
9084 rustfmt :
9185 name : Rustfmt
92- runs-on : ubuntu-18.04
86+ runs-on : ubuntu-latest
9387 steps :
94- - uses : actions/checkout@v2
95- - uses : actions-rs/ toolchain@v1
88+ - uses : actions/checkout@v3
89+ - uses : dtolnay/rust- toolchain@stable
9690 with :
97- toolchain : stable
9891 components : rustfmt
99- override : true
10092 - run : cargo fmt -- --check
0 commit comments