Skip to content

Commit 23fb306

Browse files
committed
ci: Add job to check that sqlx builds with its declared minimum dependencies
Signed-off-by: Joshua Potts <[email protected]>
1 parent 16e3f10 commit 23fb306

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/sqlx.yml

+10
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,16 @@ jobs:
5050
--features all-databases,_unstable-all-types,runtime-${{ matrix.runtime }},tls-${{ matrix.tls }},macros
5151
--target-dir target/beta/
5252
53+
check-minimal-versions:
54+
name: Check build using minimal versions
55+
runs-on: ubuntu-22.04
56+
steps:
57+
- uses: actions/checkout@v2
58+
- run: rustup update
59+
- run: rustup toolchain install nightly
60+
- run: cargo +nightly generate-lockfile -Z minimal-versions
61+
- run: cargo build --all-features
62+
5363
test:
5464
name: Unit Test
5565
runs-on: ubuntu-22.04

0 commit comments

Comments
 (0)