Skip to content

Commit

Permalink
test direct-minimal-versions
Browse files Browse the repository at this point in the history
  • Loading branch information
trevyn committed Jul 25, 2024
1 parent 34a9772 commit a00a37a
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 20 deletions.
18 changes: 17 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,24 @@ jobs:
run: cargo test --features "test" -- --nocapture --test-threads=1 --skip ui
working-directory: "turbosql"

minimal-versions:
name: test minimal-versions
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- run: rustup default nightly && rustup update nightly

- uses: taiki-e/install-action@cargo-hack
- uses: taiki-e/install-action@cargo-minimal-versions

- run: cargo minimal-versions check --direct
- run: cargo minimal-versions test --direct --features test -- --test-threads=1
- run: cargo minimal-versions doc --direct --no-deps

publish:
needs: [test]
needs: [test, minimal-versions]
runs-on: ubuntu-latest
if: ${{ contains(github.event.head_commit.message, 'turbosql@') && github.event_name == 'push' && github.ref == 'refs/heads/main' }}

Expand Down
18 changes: 9 additions & 9 deletions turbosql-impl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ version = "0.10.0"
proc-macro = true

[dependencies]
fs2 = "0.4"
once_cell = "1"
proc-macro-error = "1"
proc-macro2 = "1"
quote = "1"
fs2 = "0.4.0"
once_cell = "1.13.1"
proc-macro-error = "1.0.0"
proc-macro2 = "1.0.62"
quote = "1.0.28"
regex = "1.5.5"
rusqlite = {version = "0.32", features = ["bundled", "blob", "column_decltype"]}
serde = {version = "1", features = ["derive"]}
syn = {version = "2", features = ["extra-traits", "full"]}
toml = "0.8"
rusqlite = {version = "0.32.0", features = ["bundled", "blob", "column_decltype"]}
serde = {version = "1.0.145", features = ["derive"]}
syn = {version = "2.0.31", features = ["extra-traits", "full"]}
toml = "0.8.0"

[features]
sqlite-compat-no-strict-tables = []
Expand Down
20 changes: 10 additions & 10 deletions turbosql/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ version = "0.10.0"
turbosql-impl = {path = "../turbosql-impl", version = "=0.10.0"}

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
directories-next = "2"
log = "0.4"
once_cell = "1"
rusqlite = {version = "0.32", features = ["bundled", "blob"]}
serde = {version = "1", features = ["derive"]}
serde_json = "1"
thiserror = "1"
toml = "0.8"
directories-next = "2.0.0"
log = "0.4.4"
once_cell = "1.13.1"
rusqlite = {version = "0.32.0", features = ["bundled", "blob"]}
serde = {version = "1.0.145", features = ["derive"]}
serde_json = "1.0.0"
thiserror = "1.0.7"
toml = "0.8.0"

[dev-dependencies]
rustversion = "1"
rustversion = "1.0.0"
tokio = {version = "1.23.1", features = ["rt-multi-thread", "macros"]}
trybuild = {version = "1", features = ["diff"]}
trybuild = {version = "1.0.58", features = ["diff"]}

[features]
sqlite-compat-no-strict-tables = ["turbosql-impl/sqlite-compat-no-strict-tables"]
Expand Down

0 comments on commit a00a37a

Please sign in to comment.