name: Rust on: pull_request: paths-ignore: - '**.md' - '.github/ISSUE_TEMPLATE/**' push: paths-ignore: - '**.md' - '.github/ISSUE_TEMPLATE/**' branches: - master - 0.*.x - pr/**/ci - ci-* concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.ref || github.run_id }} cancel-in-progress: true env: CARGO_TERM_COLOR: always jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Build run: cargo build --verbose - name: Run tests run: cargo test --verbose