Skip to content

Commit 29da15c

Browse files
authored
ci: make rust 1.81.0 as the default toolchain (#409)
* ci: make rust 1.81.0 as default toolchain * fix coverage workflow file
1 parent 150629f commit 29da15c

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed

.github/workflows/coverage.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ jobs:
2121
uses: actions-rs/toolchain@v1
2222
with:
2323
toolchain: 1.81.0
24-
components: llvm-tools-preview
24+
components: llvm-tools-preview, rustfmt, clippy
25+
default: true
26+
override: true
2527

2628
- name: Install cargo-llvm-cov
2729
uses: taiki-e/install-action@cargo-llvm-cov

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
# Ensure installed pg_config is first on path
7272
export PATH=$PATH:/usr/lib/postgresql/${{ matrix.postgres }}/bin
7373
74-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --profile minimal --default-toolchain stable && \
74+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --profile minimal --default-toolchain 1.81.0 && \
7575
rustup --version && \
7676
rustc --version && \
7777
cargo --version

.github/workflows/test_supabase_wrappers.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ jobs:
1717
- uses: actions-rs/toolchain@v1
1818
with:
1919
toolchain: 1.81.0
20+
default: true
21+
override: true
22+
components: rustfmt, clippy
2023

2124
- run: |
2225
sudo apt remove -y postgres*

.github/workflows/test_wrappers.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ jobs:
2424
- uses: actions-rs/toolchain@v1
2525
with:
2626
toolchain: 1.81.0
27+
default: true
28+
override: true
29+
components: rustfmt, clippy
2730

2831
- run: |
2932
sudo apt remove -y postgres*
@@ -79,6 +82,9 @@ jobs:
7982
- uses: actions-rs/toolchain@v1
8083
with:
8184
toolchain: 1.81.0
85+
default: true
86+
override: true
87+
components: rustfmt, clippy
8288

8389
- run: |
8490
sudo apt remove -y postgres*

0 commit comments

Comments
 (0)