Bump rusqlite from 0.32.1 to 0.37.0 (#158) #185
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | name: checks | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| types: [opened, reopened, synchronize] | |
| jobs: | |
| clippy: | |
| runs-on: ubuntu-latest | |
| name: "Check & Clippy" | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Cache cargo registry | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.cargo/registry | |
| key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} | |
| - name: Cache cargo build | |
| uses: actions/cache@v4 | |
| with: | |
| path: target | |
| key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }} | |
| - uses: actions-rs/toolchain@v1 | |
| with: | |
| toolchain: "stable" | |
| override: true | |
| components: clippy | |
| - uses: actions-rs/[email protected] | |
| with: | |
| command: check | |
| - uses: actions-rs/clippy-check@v1 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| args: --all-features --no-deps -- -D warnings | |
| name: "Clippy Results" | |
| rustdoc: | |
| runs-on: ubuntu-latest | |
| name: "Rustdoc" | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Cache cargo registry | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.cargo/registry | |
| key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} | |
| - uses: actions-rs/toolchain@v1 | |
| with: | |
| toolchain: nightly | |
| override: true | |
| minimal: true | |
| - name: taskchampion-sync-server | |
| uses: actions-rs/[email protected] | |
| with: | |
| command: rustdoc | |
| args: -p taskchampion-sync-server --bin taskchampion-sync-server --all-features -- -Z unstable-options --check -Dwarnings | |
| - name: taskchampion-sync-server-postgres | |
| uses: actions-rs/[email protected] | |
| with: | |
| command: rustdoc | |
| args: -p taskchampion-sync-server --bin taskchampion-sync-server-postgres --all-features -- -Z unstable-options --check -Dwarnings | |
| - name: taskchampion-sync-server-core | |
| uses: actions-rs/[email protected] | |
| with: | |
| command: rustdoc | |
| args: -p taskchampion-sync-server-core --all-features -- -Z unstable-options --check -Dwarnings | |
| - name: taskchampion-sync-server-storage-sqlite | |
| uses: actions-rs/[email protected] | |
| with: | |
| command: rustdoc | |
| args: -p taskchampion-sync-server-storage-sqlite --all-features -- -Z unstable-options --check -Dwarnings | |
| - name: taskchampion-sync-server-storage-postgres | |
| uses: actions-rs/[email protected] | |
| with: | |
| command: rustdoc | |
| args: -p taskchampion-sync-server-storage-postgres --all-features -- -Z unstable-options --check -Dwarnings | |
| fmt: | |
| runs-on: ubuntu-latest | |
| name: "Formatting" | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions-rs/toolchain@v1 | |
| with: | |
| profile: minimal | |
| components: rustfmt | |
| toolchain: stable | |
| override: true | |
| - uses: actions-rs/[email protected] | |
| with: | |
| command: fmt | |
| args: --all -- --check | |
| semver-checks: | |
| runs-on: ubuntu-latest | |
| name: "Cargo Semver Checks" | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: obi1kenobi/cargo-semver-checks-action@v2 | |
| with: | |
| # exclude the binary package from semver checks, since it is not published as a crate. | |
| exclude: taskchampion-sync-server | |
| mdbook: | |
| runs-on: ubuntu-latest | |
| name: "mdBook Documentation" | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Setup mdBook | |
| uses: peaceiris/actions-mdbook@v2 | |
| with: | |
| # if this changes, change it in .github/workflows/publish-docs.yml as well | |
| mdbook-version: '0.4.48' | |
| - run: mdbook test docs | |
| - run: mdbook build docs |