Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: 1.84.1
toolchain: 1.85.1
components: llvm-tools-preview, rustfmt, clippy
default: true
override: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,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 1.84.1 && \
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --profile minimal --default-toolchain 1.85.1 && \
rustup --version && \
rustc --version && \
cargo --version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_wasm_fdw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Set up Rust
run: |
# install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --profile minimal --default-toolchain 1.84.1 && \
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --profile minimal --default-toolchain 1.85.1 && \
rustup --version && \
rustc --version && \
cargo --version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_supabase_wrappers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

- uses: actions-rs/toolchain@v1
with:
toolchain: 1.84.1
toolchain: 1.85.1
default: true
override: true
components: rustfmt, clippy
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/test_wrappers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

- uses: actions-rs/toolchain@v1
with:
toolchain: 1.84.1
toolchain: 1.85.1
default: true
override: true
components: rustfmt, clippy
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:

- uses: actions-rs/toolchain@v1
with:
toolchain: 1.84.1
toolchain: 1.85.1
default: true
override: true
components: rustfmt, clippy
Expand All @@ -98,15 +98,17 @@ jobs:

- name: Build Wasm FDWs
run: |
find ./wasm-wrappers/fdw/ -name "Cargo.toml" -exec cargo component build --release --target wasm32-unknown-unknown --manifest-path {} \;
cd ./wasm-wrappers/fdw && cargo component build --release --target wasm32-unknown-unknown

# we don't want to check format for generated files, so we use
# 'git diff --quiet' trick here, instead of 'cargo fmt --check'
- name: Format code
run: |
find ./wasm-wrappers/fdw/ -name "Cargo.toml" -exec cargo fmt --check --manifest-path {} \;
cd ./wasm-wrappers/fdw && cargo fmt && git diff --quiet

- name: Run clippy
run: |
RUSTFLAGS="-D warnings" find ./wasm-wrappers/fdw/ -name "Cargo.toml" -exec cargo clippy --all --tests --no-deps --manifest-path {} \;
cd ./wasm-wrappers/fdw && RUSTFLAGS="-D warnings" cargo clippy --all --tests --no-deps

- name: Perform test
run: cd wrappers && cargo pgrx test --features "wasm_fdw pg15"
Loading
Loading