Skip to content

Commit e7e90d5

Browse files
chore: use working-directory
1 parent bfb5c5a commit e7e90d5

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ jobs:
115115
116116
- name: Get binstall
117117
shell: bash
118+
working-directory: /tmp
118119
run: |
119-
cd /tmp
120120
archive="cargo-binstall-x86_64-unknown-linux-musl.tgz"
121121
wget "https://github.com/cargo-bins/cargo-binstall/releases/latest/download/${archive}"
122122

.github/workflows/lint-commits.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@ jobs:
3939
- name: Set up toolchain
4040
shell: bash
4141
run: |
42-
rm ${HOME}/.cargo/bin/rustfmt
4342
rm ${HOME}/.cargo/bin/cargo-fmt
43+
rm ${HOME}/.cargo/bin/rust-analyzer
44+
rm ${HOME}/.cargo/bin/rustfmt
4445
4546
rustup update
4647
rustup show active-toolchain || rustup toolchain install
@@ -50,8 +51,8 @@ jobs:
5051
5152
- name: Get binstall
5253
shell: bash
54+
working-directory: /tmp
5355
run: |
54-
cd /tmp
5556
archive="cargo-binstall-x86_64-unknown-linux-musl.tgz"
5657
wget "https://github.com/cargo-bins/cargo-binstall/releases/latest/download/${archive}"
5758

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ jobs:
6767
6868
- name: Get binstall
6969
shell: bash
70+
working-directory: /tmp
7071
run: |
71-
cd /tmp
7272
archive="cargo-binstall-x86_64-unknown-linux-musl.tgz"
7373
wget "https://github.com/cargo-bins/cargo-binstall/releases/latest/download/${archive}"
7474

.github/workflows/test-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ jobs:
6161
6262
- name: Get binstall
6363
shell: bash
64+
working-directory: /tmp
6465
run: |
65-
cd /tmp
6666
archive="cargo-binstall-x86_64-unknown-linux-musl.tgz"
6767
wget "https://github.com/cargo-bins/cargo-binstall/releases/latest/download/${archive}"
6868

0 commit comments

Comments
 (0)