diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c8a03dd..5eb0b2f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,11 +1,16 @@ name: Build on: - push: + # Run workflow on any pull request. pull_request: + # Run workflow on pushes to the master branch. + push: + branches: [master] + jobs: - build: + run-tests: + timeout-minutes: 15 strategy: matrix: os: [ubuntu-latest, macos-latest]