fix: make use of config.toml, implement config_path as argument (#49) #24
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: Rust CI | |
on: | |
push: | |
branches: | |
- main | |
- setup-ci | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- name: Install protoc | |
run: sudo apt-get install protobuf-compiler | |
- name: Build and test | |
run: cargo build --verbose && cargo test --features ci --verbose | |
- name: Install cargo-audit | |
run: cargo install cargo-audit | |
- name: Run cargo-audit | |
run: cargo audit |