Use atomics instead of channel to return results #38
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: Checks | |
on: | |
push: | |
branches: main | |
pull_request: | |
branches: main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Check code formatting is consistent | |
run: cargo fmt --check | |
- name: Lint code | |
run: cargo clippy -- --deny warnings | |
- name: Run all tests | |
run: cargo test |