From 420ca8484aa65622f1e5060e4290e68e534b7e69 Mon Sep 17 00:00:00 2001 From: Lucio Franco Date: Sun, 1 Sep 2019 12:48:35 -0400 Subject: [PATCH] Try new githubactions --- .github/workflows/rust.yml | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index fec17ad..1734632 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -1,15 +1,19 @@ -name: Rust - +name: Test Rust project on: [push] - jobs: - build: - - runs-on: ubuntu-latest + test: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [macOS-latest] + rust: [nightly] steps: - - uses: actions/checkout@v1 - - name: Build - run: cargo build --verbose + - uses: hecrj/setup-rust-action@master + with: + rust-version: ${{ matrix.rust }} + - uses: actions/checkout@master - name: Run tests - run: cargo test --verbose + run: cargo test --all --verbose + - name: Run interop tests + run: ./tonic-interop/test.sh