Skip to content

Commit

Permalink
Trigger actions on pull
Browse files Browse the repository at this point in the history
  • Loading branch information
ruudboon committed Feb 16, 2020
1 parent 86a90cd commit c33fc6f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
name: main
on: push
on:
pull_request:
push:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
matrix:
php-versions: [7.2, 7.3, 7.4]
steps:
- uses: actions/checkout@v2
Expand All @@ -21,7 +23,7 @@ jobs:
uses: actions/cache@v1
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
restore-keys: ${{ runner.os }}-composer-
- name: composer install
run: composer install --no-interaction --no-ansi --no-progress --no-suggest
Expand Down

0 comments on commit c33fc6f

Please sign in to comment.