enh(ci): optimize Turbo CI check workflow, track Rust and Node toolchain versions in well-known files (#3776)

* enh(ci): optimize Turbo CI check workflow, track Rust and Node toolchain versions in well-known files

* fix(ci): build `sqlx-cli` with `rustls` to fix Postgres TLS failures
This commit is contained in:
Alejandro González
2025-06-13 01:47:28 +02:00
committed by GitHub
parent d24528f6a6
commit 4e3bd4e282
17 changed files with 263 additions and 84 deletions

View File

@@ -32,16 +32,16 @@ jobs:
- name: Rust setup (mac)
if: startsWith(matrix.platform, 'macos')
uses: dtolnay/rust-toolchain@stable
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt, clippy
targets: aarch64-apple-darwin, x86_64-apple-darwin
rustflags: ''
target: x86_64-apple-darwin
- name: Rust setup
if: "!startsWith(matrix.platform, 'macos')"
uses: dtolnay/rust-toolchain@stable
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt, clippy
rustflags: ''
- name: Setup rust cache
uses: actions/cache@v4
@@ -72,10 +72,10 @@ jobs:
restore-keys: |
${{ runner.os }}-rust-target-
- name: Use Node.js
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version-file: .nvmrc
- name: Install pnpm via corepack
shell: bash