cleaner implementation for hashing thread triggers #15
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 and test workflow | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
release: | |
types: [ created ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-20.04, windows-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install acl-deps | |
if: matrix.os == 'ubuntu-20.04' | |
run: sudo apt-get install acl-dev | |
- name: Set up Rust | |
if: matrix.os == 'windows-latest' | |
run: rustup toolchain install nightly && rustup default nightly && rustup component add clippy | |
- name: Build | |
run: cargo clippy --verbose | |
- name: Run tests | |
run: cargo test --verbose |