Update dependencies #50
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: Build & Test | |
on: [push, pull_request] | |
jobs: | |
fmt: | |
name: cargo fmt | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: cargo fmt | |
run: cargo fmt --all -- --check | |
clippy: | |
name: cargo clippy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: cargo clippy | |
run: | | |
sudo apt-get install -y libleptonica-dev libtesseract-dev clang tesseract-ocr-eng | |
cargo clippy --all -- -D warnings | |
test: | |
name: cargo test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: cargo test | |
run: | | |
sudo apt-get install -y libleptonica-dev libtesseract-dev clang tesseract-ocr-eng | |
cargo test |