mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-05-01 06:24:31 +00:00
ci: Add job to check that sqlx builds with its declared minimum dependencies
Signed-off-by: Joshua Potts <8704475+iamjpotts@users.noreply.github.com>
This commit is contained in:
committed by
Austin Bonander
parent
ba1b2f9b82
commit
0546e0cfa9
10
.github/workflows/sqlx.yml
vendored
10
.github/workflows/sqlx.yml
vendored
@@ -50,6 +50,16 @@ jobs:
|
||||
--features all-databases,_unstable-all-types,runtime-${{ matrix.runtime }},tls-${{ matrix.tls }},macros
|
||||
--target-dir target/beta/
|
||||
|
||||
check-minimal-versions:
|
||||
name: Check build using minimal versions
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- run: rustup update
|
||||
- run: rustup toolchain install nightly
|
||||
- run: cargo +nightly generate-lockfile -Z minimal-versions
|
||||
- run: cargo build --all-features
|
||||
|
||||
test:
|
||||
name: Unit Test
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
Reference in New Issue
Block a user