Skip to content

Commit e083079

Browse files
committed
ci: fix windows
1 parent 64ee2b2 commit e083079

5 files changed

Lines changed: 30 additions & 30 deletions

File tree

.github/workflows/benchmark.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ jobs:
3030
3131
- name: Install Rust
3232
run: |
33-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp/install-rustup
34-
chmod +x /tmp/install-rustup
35-
/tmp/install-rustup --default-toolchain $(cat rust-toolchain) -y
33+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /install-rustup
34+
chmod +x /install-rustup
35+
/install-rustup --default-toolchain $(cat rust-toolchain) -y
3636
3737
- name: Build pdu
3838
run: |

.github/workflows/clippy.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ jobs:
3737
3838
- name: Install Rust
3939
run: |
40-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp/install-rustup
41-
chmod +x /tmp/install-rustup
42-
/tmp/install-rustup --default-toolchain $(cat rust-toolchain) --component clippy -y
40+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /install-rustup
41+
chmod +x /install-rustup
42+
/install-rustup --default-toolchain $(cat rust-toolchain) --component clippy -y
4343
4444
- name: Use clippy to lint code (dev)
4545
env:

.github/workflows/deploy.yaml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ jobs:
2424

2525
- name: Install Rust
2626
run: |
27-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp/install-rustup
28-
chmod +x /tmp/install-rustup
29-
/tmp/install-rustup --default-toolchain $(cat rust-toolchain) -y
27+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /install-rustup
28+
chmod +x /install-rustup
29+
/install-rustup --default-toolchain $(cat rust-toolchain) -y
3030
3131
- name: Test (dev)
3232
env:
@@ -67,9 +67,9 @@ jobs:
6767

6868
- name: Install Rust
6969
run: |
70-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp/install-rustup
71-
chmod +x /tmp/install-rustup
72-
/tmp/install-rustup --default-toolchain $(cat rust-toolchain) -y
70+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /install-rustup
71+
chmod +x /install-rustup
72+
/install-rustup --default-toolchain $(cat rust-toolchain) -y
7373
7474
- name: Install compilation target
7575
run: rustup target add ${{ matrix.target }}
@@ -103,9 +103,9 @@ jobs:
103103

104104
- name: Install Rust
105105
run: |
106-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp/install-rustup
107-
chmod +x /tmp/install-rustup
108-
/tmp/install-rustup --default-toolchain $(cat rust-toolchain) -y
106+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /install-rustup
107+
chmod +x /install-rustup
108+
/install-rustup --default-toolchain $(cat rust-toolchain) -y
109109
110110
- name: Install compilation target
111111
run: rustup target add ${{ matrix.target }}
@@ -139,9 +139,9 @@ jobs:
139139

140140
- name: Install Rust
141141
run: |
142-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp/install-rustup
143-
chmod +x /tmp/install-rustup
144-
/tmp/install-rustup --default-toolchain $(cat rust-toolchain) -y
142+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /install-rustup
143+
chmod +x /install-rustup
144+
/install-rustup --default-toolchain $(cat rust-toolchain) -y
145145
146146
- name: Install compilation target
147147
run: rustup target add ${{ matrix.target }}
@@ -394,9 +394,9 @@ jobs:
394394

395395
- name: Install Rust
396396
run: |
397-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp/install-rustup
398-
chmod +x /tmp/install-rustup
399-
/tmp/install-rustup --default-toolchain $(cat rust-toolchain) -y
397+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /install-rustup
398+
chmod +x /install-rustup
399+
/install-rustup --default-toolchain $(cat rust-toolchain) -y
400400
401401
- name: Login
402402
run: cargo login ${{ secrets.CRATE_AUTH_TOKEN }}
@@ -443,9 +443,9 @@ jobs:
443443
444444
- name: Install Rust
445445
run: |
446-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp/install-rustup
447-
chmod +x /tmp/install-rustup
448-
/tmp/install-rustup --default-toolchain $(cat rust-toolchain) -y
446+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /install-rustup
447+
chmod +x /install-rustup
448+
/install-rustup --default-toolchain $(cat rust-toolchain) -y
449449
450450
- name: Build pdu
451451
run: |

.github/workflows/fmt.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515

1616
- name: Install Rust
1717
run: |
18-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp/install-rustup
19-
chmod +x /tmp/install-rustup
20-
/tmp/install-rustup --default-toolchain $(cat rust-toolchain) --component rustfmt -y
18+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /install-rustup
19+
chmod +x /install-rustup
20+
/install-rustup --default-toolchain $(cat rust-toolchain) --component rustfmt -y
2121
2222
- name: Check code formatting
2323
run: cargo fmt -- --check

.github/workflows/test.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ jobs:
3838
3939
- name: Install Rust
4040
run: |
41-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp/install-rustup
42-
chmod +x /tmp/install-rustup
43-
/tmp/install-rustup --default-toolchain $(cat rust-toolchain) -y
41+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /install-rustup
42+
chmod +x /install-rustup
43+
/install-rustup --default-toolchain $(cat rust-toolchain) -y
4444
4545
- name: Test (dev)
4646
env:

0 commit comments

Comments
 (0)