Skip to content

build(deps): bump chart.js from 4.4.7 to 4.4.8 in /ui (#1227) #1046

build(deps): bump chart.js from 4.4.7 to 4.4.8 in /ui (#1227)

build(deps): bump chart.js from 4.4.7 to 4.4.8 in /ui (#1227) #1046

Workflow file for this run

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