diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 41272c9..08b0f3a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,9 @@ name: Continuous integration -on: [push, pull_request] +on: + pull_request: + push: + branches: + - main defaults: run: shell: bash @@ -18,6 +22,7 @@ jobs: with: tasks: build test lint release validate_release run docker_repo: stephanmisc/toast + read_remote_cache: ${{ github.event_name == 'push' }} write_remote_cache: ${{ github.event_name == 'push' }} - run: | # Make Bash not silently ignore errors.