diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7f07e79..32e35d7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,13 @@ name: Rust -on: [push, pull_request] +on: + push: + branches: [ main ] + pull_request: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: build: