diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 586e578..4032416 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -1,11 +1,19 @@ name: Rust -on: [push] +on: + push: + branches: + - '*' + pull_request: + branches: + - 'master' + +env: + CARGO_TERM_COLOR: always jobs: build-mac: runs-on: macos-latest - steps: - uses: actions/checkout@v2 @@ -17,9 +25,9 @@ jobs: name: copyrat-macos.zip path: ./target/release/*copyrat + build-linux: runs-on: ubuntu-latest - steps: - uses: actions/checkout@v2