Update rust master merge action workflow

This commit is contained in:
Michael Bailey 2024-09-09 17:44:10 +01:00 committed by GitHub
parent 0bfbd9c747
commit c1e4a22099
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 10 deletions

View File

@ -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