build(deps): bump maud from 0.26.0 to 0.27.0 (#1193) #997
This file contains 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
on: | |
pull_request: {} | |
push: | |
branches: | |
- 'main' | |
name: Test rust | |
jobs: | |
build_all_features: | |
name: Build all features | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: stable | |
- name: Set up cargo cache | |
uses: actions/cache@v3 | |
continue-on-error: false | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
target/ | |
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}-all | |
- name: Run cargo build | |
run: cargo build | |
- name: Run lint | |
run: cargo clippy -- -D warnings | |
- name: Run cargo test | |
run: cargo test | |
build_sqlite: | |
name: Build sqlite | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: stable | |
- name: Set up cargo cache | |
uses: actions/cache@v3 | |
continue-on-error: false | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
target/ | |
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}-sqlite | |
- name: Run cargo build | |
run: cargo build --no-default-features --features sqlite | |
- name: Run lint | |
run: cargo clippy --no-default-features --features sqlite -- -D warnings | |
- name: Run cargo test | |
run: cargo test --no-default-features --features sqlite | |
build_postgres: | |
name: Build postgres | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: stable | |
- name: Set up cargo cache | |
uses: actions/cache@v3 | |
continue-on-error: false | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
target/ | |
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}-postgres | |
- name: Run cargo build | |
run: cargo build --no-default-features --features postgresql | |
- name: Run lint | |
run: cargo clippy --no-default-features --features postgresql -- -D warnings | |
- name: Run cargo test | |
run: cargo test --no-default-features --features postgresql |