Try new githubactions
This commit is contained in:
+14
-10
@@ -1,15 +1,19 @@
|
|||||||
name: Rust
|
name: Test Rust project
|
||||||
|
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
test:
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
runs-on: ubuntu-latest
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [macOS-latest]
|
||||||
|
rust: [nightly]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: hecrj/setup-rust-action@master
|
||||||
- name: Build
|
with:
|
||||||
run: cargo build --verbose
|
rust-version: ${{ matrix.rust }}
|
||||||
|
- uses: actions/checkout@master
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: cargo test --verbose
|
run: cargo test --all --verbose
|
||||||
|
- name: Run interop tests
|
||||||
|
run: ./tonic-interop/test.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user