Skip to content

Switch to tower-cookies #124

Switch to tower-cookies

Switch to tower-cookies #124

Workflow file for this run

name: ci
on:
pull_request:
push:
branches:
- master
env:
CARGO_INCREMENTAL: 0
jobs:
build:
name: Build - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
components: clippy, rustfmt
- name: Install libsqlite3-dev
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get install libsqlite3-dev
- name: Cache dependencies
uses: Swatinem/rust-cache@v1
- name: Fetch
run: cargo fetch
- name: Format
run: cargo fmt -- --check
- name: Build
run: cargo build --features bundled-sqlite
- name: Clippy
run: cargo clippy --features bundled-sqlite -- -D warnings
- name: Build tests
run: cargo test --features bundled-sqlite --no-run
- name: Test
run: cargo test --features bundled-sqlite