From c1e4a220995ab932b8994c44f85a55a799dd95d1 Mon Sep 17 00:00:00 2001 From: Michael Bailey Date: Mon, 9 Sep 2024 17:44:10 +0100 Subject: [PATCH] Update rust master merge action workflow --- .github/workflows/rust.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index edf72fb..cb3fcc7 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -1,8 +1,6 @@ name: Rust on: - push: - branches: [ ref-method ] pull_request: branches: [ master ] @@ -11,15 +9,12 @@ env: jobs: build: - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest, macos-latest, windows-latest] - + runs-on: ubuntu-latest steps: + - name: Install protobuffer compiler + run: sudo apt-get install -y protobuf-compiler - uses: actions/checkout@v2 - name: check run: cargo check --verbose - - name: Build - run: cargo build --verbose - + - name: test + run: cargo test --verbose