Skip to content

Commit

Permalink
ci: Add a job to test min-versions
Browse files Browse the repository at this point in the history
This will fail because of duckdb/duckdb-rs#134, so we'll wait for that to resolve before merging
  • Loading branch information
max-sixty committed Oct 21, 2023
1 parent 6b3c951 commit 2924122
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,27 @@ jobs:
working-directory: prqlc/prqlc
run: cargo msrv verify

test-deps-min-versions:
runs-on: ubuntu-latest
needs: rules
if: needs.rules.outputs.nightly == 'true'
steps:
- name: 📂 Checkout code
uses: actions/checkout@v3
- run: rustup toolchain add nightly
- uses: baptiste0928/cargo-install@v2
with:
crate: cargo-hack
- uses: baptiste0928/cargo-install@v2
with:
crate: cargo-minimal-versions
- name: 💰 Cache
uses: Swatinem/rust-cache@v2
with:
save-if: ${{ github.ref == 'refs/heads/main' }}
- name: Verify minimum rust version
run: cargo minimal-versions test

check-ok-to-merge:
# This indicates to GitHub whether everything in this workflow has passed
# and (unlike if we included each task in the branch's GitHub required
Expand Down
2 changes: 1 addition & 1 deletion prqlc/prql-compiler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ mysql = {version = "24", optional = true}
pg_bigdecimal = {version = "0.1", optional = true}
postgres = {version = "0.19", optional = true}
rusqlite = {version = "0.29.0", optional = true, features = ["bundled", "csvtab"]}
tiberius = {version = "0.12", optional = true, features = ["sql-browser-tokio", "bigdecimal", "time"]}
tiberius = {version = "0.12.2", optional = true, features = ["sql-browser-tokio", "bigdecimal", "time"]}
tokio = {version = "1", optional = true, features = ["full"]}
tokio-util = {version = "0.7", optional = true, features = ["compat"]}

Expand Down

0 comments on commit 2924122

Please sign in to comment.