Skip to content

Sync db when updating job state. #34

Sync db when updating job state.

Sync db when updating job state. #34

Workflow file for this run

name: Rust
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
test:
name: Test
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- run: mkdir ./.data
- name: Test
run: cargo test
fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Rustfmt
run: rustup component add rustfmt
- name: Rustfmt
run: cargo fmt --all -- --check
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Clippy
run: rustup component add clippy
- name: Clippy
run: cargo clippy --all-targets --all-features -- -D warnings