Skip to content

Add PostgreSQL database #28

Add PostgreSQL database

Add PostgreSQL database #28

Workflow file for this run

on: [push]
name: CI
jobs:
build:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
profile: minimal
- name: Run cargo check
uses: actions-rs/cargo@v1
with:
command: check
format-check:
name: Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt
profile: minimal
- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: check
clippy:
name: Clippy check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: clippy
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
test:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
profile: minimal
- name: Run cargo test
uses: actions-rs/cargo@v1
with:
command: test