Skip to content

Commit 08b0ab5

Browse files
committed
Update CI rules
1 parent 96edce3 commit 08b0ab5

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/main.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,23 @@ jobs:
1818
- x86_64-pc-windows-msvc
1919
include:
2020
- target: x86_64-unknown-linux-gnu
21-
os: ubuntu-22.04
21+
os: ubuntu-latest
2222
- target: i686-unknown-linux-gnu
23-
os: ubuntu-22.04
23+
os: ubuntu-latest
2424
- target: aarch64-unknown-linux-gnu
25-
os: ubuntu-22.04
25+
os: ubuntu-latest
2626
- target: x86_64-apple-darwin
2727
os: macos-latest
2828
- target: aarch64-apple-darwin
2929
os: macos-latest
3030
- target: x86_64-pc-windows-gnu
31-
os: ubuntu-22.04
31+
os: ubuntu-latest
3232
- target: i686-pc-windows-gnu
33-
os: ubuntu-22.04
33+
os: ubuntu-latest
3434
- target: x86_64-pc-windows-msvc
3535
os: windows-latest
3636
steps:
37-
- uses: actions/checkout@v3
37+
- uses: actions/checkout@main
3838
with:
3939
submodules: true
4040
- uses: dtolnay/rust-toolchain@stable
@@ -75,16 +75,16 @@ jobs:
7575
needs: build
7676
strategy:
7777
matrix:
78-
os: [ubuntu-22.04, macos-latest, windows-latest]
78+
os: [ubuntu-latest, macos-latest, windows-latest]
7979
include:
80-
- os: ubuntu-22.04
80+
- os: ubuntu-latest
8181
target: x86_64-unknown-linux-gnu
8282
- os: macos-latest
8383
target: x86_64-apple-darwin
8484
- os: windows-latest
8585
target: x86_64-pc-windows-msvc
8686
steps:
87-
- uses: actions/checkout@v3
87+
- uses: actions/checkout@main
8888
with:
8989
submodules: true
9090
- uses: dtolnay/rust-toolchain@stable
@@ -98,9 +98,9 @@ jobs:
9898

9999
rustfmt:
100100
name: Rustfmt
101-
runs-on: ubuntu-22.04
101+
runs-on: ubuntu-latest
102102
steps:
103-
- uses: actions/checkout@v3
103+
- uses: actions/checkout@main
104104
with:
105105
submodules: true
106106
- uses: dtolnay/rust-toolchain@stable

0 commit comments

Comments
 (0)