From 09e018159781629be0f6e9feaab0fc23a05b194c Mon Sep 17 00:00:00 2001 From: Alvaro Tedeschi Date: Mon, 6 Nov 2023 15:04:46 -0300 Subject: [PATCH 1/2] 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 From 0a1d5b69d3b0d957b163d5bacd44a1deae28b9e2 Mon Sep 17 00:00:00 2001 From: Alvaro Tedeschi Date: Mon, 6 Nov 2023 15:18:35 -0300 Subject: [PATCH 2/2] change branch workflow --- .github/workflows/build_and_test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index ffc9a5f..537d7ac 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -2,9 +2,9 @@ name: Build and test on: push: - branches: ['workflwo'] + branches: ['master'] pull_request: - branches: ['workflwo'] + branches: ['master'] env: CARGO_TERM_COLOR: always