Skip to content
Open
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
18 changes: 18 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,24 @@ jobs:
- name: Run clippy
run: cargo clippy --all-targets --all-features -- -D warnings

msrv:
name: MSRV
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Read rust-version from Cargo.toml
id: rust-version
run: |
echo "toolchain=$(sed -n 's/^rust-version = "\(.*\)"$/\1/p' Cargo.toml)" >> "$GITHUB_OUTPUT"
- name: Install the declared rust-version
uses: dtolnay/rust-toolchain@02cb101ec7c40f2c49e1d9714d64511d8e1b74de
with:
toolchain: ${{ steps.rust-version.outputs.toolchain }}
- name: Check both feature sets
run: |
cargo check --all-targets --all-features
cargo check --all-targets --no-default-features

doc:
name: Documentation
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "sql_docs"
version = "1.3.3"
edition = "2024"
rust-version = "1.88"
description = "A crate for parsing comments from sql files and using them for documentation generation"
documentation = "https://docs.rs/sql_docs"
license = "GPL-3.0"
Expand Down
Loading