Add dependabot #36
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
--- | |
name: CI | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- 'v*' | |
pull_request: | |
jobs: | |
formatting-and-quality: | |
name: Formatting and Quality | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup | |
run: | | |
rustup component add clippy rustfmt | |
- name: Format | |
run: cargo fmt -- --check | |
- name: Clippy | |
run: cargo clippy -- -Dwarnings | |
documentation: | |
name: Documentation | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: rustdoc | |
run: cargo doc | |
build-and-test: | |
name: Build and Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Build and Test | |
run: cargo test |