chore: remove default features from multihash-codetable #575
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: Rust PR | |
on: | |
pull_request: | |
# Default types for PR are opened, synchronize, reopened. Need | |
# ready_for_review to catch a PR that is moving from draft to not-draft | |
types: [opened, synchronize, reopened, ready_for_review] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
check-build: | |
if: github.event.pull_request.draft == false | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Build | |
run: make check-build | |
actor-tests: | |
if: github.event.pull_request.draft == false | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Test Actors | |
run: make test-actors | |
code-coverage: | |
if: github.event.pull_request.draft == false | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Test Libraries | |
run: make test-coverage | |
env: | |
CARGO_INCREMENTAL: '0' | |
RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Coverflow-checks=off' | |
RUSTDOCFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Coverflow-checks=off' | |
RUSTC_BOOTSTRAP: '1' | |
- name: Generate Coverage Report | |
id: coverage | |
uses: actions-rs/[email protected] | |
- name: Upload to Coveralls | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
path-to-lcov: ${{ steps.coverage.outputs.report }} |