rename library folder and minor version bumps #50
Workflow file for this run
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: PR | |
on: | |
pull_request: | |
branches: [ main ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install protoc | |
run: ./install_protoc.sh | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
- uses: Swatinem/rust-cache@v2 | |
- name: Rustfmt | |
run: cargo fmt -- --check | |
- name: Clippy | |
run: | | |
cargo --version | |
cargo clippy --version | |
cargo clippy --all-targets --all-features -- -D warnings -W clippy::unwrap_used | |
- name: Run tests | |
run: cargo test --verbose | |
- name: Ensure protos are up to date | |
run: cargo publish --dry-run --all-features -p goodmetrics |