From 0931b7cce148ba069839443219ab56127ce903d3 Mon Sep 17 00:00:00 2001 From: auooru Date: Wed, 1 Nov 2023 12:37:52 +0800 Subject: [PATCH] fix: ci.yml --- .github/workflows/ci.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e27e4e7..9526f3a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,12 @@ name: ci -on: [push] +on: + push: + paths-ignore: + - "README.md" + pull_request: + paths-ignore: + - "README.md" jobs: phpunit: @@ -23,7 +29,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -43,6 +49,7 @@ jobs: - name: Get composer cache directory id: composer-cache + shell: "bash" run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - name: Cache vendor