Skip to content

Commit

Permalink
ci: make rust 1.81.0 as the default toolchain (#409)
Browse files Browse the repository at this point in the history
* ci: make rust 1.81.0 as default toolchain

* fix coverage workflow file
  • Loading branch information
burmecia authored Feb 3, 2025
1 parent 150629f commit 29da15c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ jobs:
uses: actions-rs/toolchain@v1
with:
toolchain: 1.81.0
components: llvm-tools-preview
components: llvm-tools-preview, rustfmt, clippy
default: true
override: true

- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Ensure installed pg_config is first on path
export PATH=$PATH:/usr/lib/postgresql/${{ matrix.postgres }}/bin
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --profile minimal --default-toolchain stable && \
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --profile minimal --default-toolchain 1.81.0 && \
rustup --version && \
rustc --version && \
cargo --version
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test_supabase_wrappers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.81.0
default: true
override: true
components: rustfmt, clippy

- run: |
sudo apt remove -y postgres*
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test_wrappers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.81.0
default: true
override: true
components: rustfmt, clippy

- run: |
sudo apt remove -y postgres*
Expand Down Expand Up @@ -79,6 +82,9 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.81.0
default: true
override: true
components: rustfmt, clippy

- run: |
sudo apt remove -y postgres*
Expand Down

0 comments on commit 29da15c

Please sign in to comment.