From 09e018159781629be0f6e9feaab0fc23a05b194c Mon Sep 17 00:00:00 2001 From: Alvaro Tedeschi Date: Mon, 6 Nov 2023 15:04:46 -0300 Subject: [PATCH] fix workflow --- .github/workflows/build_and_test.yml | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index bc9d667..ffc9a5f 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -2,21 +2,27 @@ name: Build and test on: push: - branches: [ "master" ] + branches: ['workflwo'] pull_request: - branches: [ "master" ] + branches: ['workflwo'] env: CARGO_TERM_COLOR: always jobs: build: - runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Build - run: cargo build --verbose - - name: Run tests - run: cargo test --verbose + - uses: actions/checkout@v3 + + - name: Install Protobuf Compiler + run: | + sudo apt-get update + sudo apt-get install -y protobuf-compiler + + - name: Build + run: cargo build --verbose + + - name: Run tests + run: cargo test --verbose