Skip to content

Merge pull request #36 from hisbaan/dependabot/cargo/h2-0.3.26 #53

Merge pull request #36 from hisbaan/dependabot/cargo/h2-0.3.26

Merge pull request #36 from hisbaan/dependabot/cargo/h2-0.3.26 #53

Workflow file for this run

name: tests
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Cache build artifacts
uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose