Skip to content

Commit ad14b60

Browse files
committed
fix: make ci happy
1 parent e722421 commit ad14b60

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/rust.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ jobs:
2929

3030
steps:
3131
- uses: actions/checkout@v3
32+
- name: Install Rust
33+
uses: actions-rs/toolchain@v1
34+
with:
35+
toolchain: stable
36+
components: clippy, rustfmt
37+
override: true
3238
- name: Run cargo fmt --all -- --check
3339
run: cargo fmt --all -- --check
3440
- name: Build
@@ -60,6 +66,12 @@ jobs:
6066
runs-on: ${{matrix.os}}
6167

6268
steps:
69+
- name: Install Rust
70+
uses: actions-rs/toolchain@v1
71+
with:
72+
toolchain: stable
73+
components: clippy, rustfmt
74+
override: true
6375
- name: Build Tongsuo
6476
run: |
6577
wget "https://github.com/Tongsuo-Project/Tongsuo/archive/refs/tags/${TONGSUO_VERSION}.tar.gz"
@@ -93,6 +105,12 @@ jobs:
93105

94106
steps:
95107
- uses: actions/checkout@v3
108+
- name: Install Rust
109+
uses: actions-rs/toolchain@v1
110+
with:
111+
toolchain: stable
112+
components: clippy, rustfmt
113+
override: true
96114
- uses: shogo82148/actions-setup-mysql@v1
97115
with:
98116
mysql-version: "5.7"
@@ -126,6 +144,12 @@ jobs:
126144
CARGO_TEST_MYSQL_PASSWORD: password
127145

128146
steps:
147+
- name: Install Rust
148+
uses: actions-rs/toolchain@v1
149+
with:
150+
toolchain: stable
151+
components: clippy, rustfmt
152+
override: true
129153
- uses: actions/checkout@v3
130154
- uses: shogo82148/actions-setup-mysql@v1
131155
with:

0 commit comments

Comments
 (0)