Skip to content

Commit

Permalink
Update: 更新 CI 弃用
Browse files Browse the repository at this point in the history
  • Loading branch information
NHZEX authored Apr 6, 2024
1 parent d6f2f3f commit 50e83a4
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:
id: composer-cache
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- name: Cache vendor
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ env.PHP_VERSION }}-${{ env.SWOOLE_VERSION }}-${{ hashFiles('*/composer.json', 'src/Components/*/composer.json') }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/daily-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
with:
ref: "3.0"
- name: Cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /tmp/base_cache/composer
key: ${{ runner.os }}-daily-test-3.0-composer-${{ matrix.php }}-${{ hashFiles('*/composer.json', 'src/Components/*/composer.json') }}
Expand Down Expand Up @@ -133,7 +133,7 @@ jobs:
with:
ref: "2.1"
- name: Cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /tmp/base_cache/composer
key: ${{ runner.os }}-daily-test-2.1-composer-${{ matrix.php }}-${{ hashFiles('*/composer.json', 'src/Components/*/composer.json') }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/phpcs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
mkdir -p /tmp/base_cache/phpcsfixer
- name: Cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /tmp/base_cache/composer
key: ${{ runner.os }}-composer-${{ env.IMAGE_VERSION }}-${{ hashFiles('*/composer.json', 'src/Components/*/composer.json') }}
Expand All @@ -42,7 +42,7 @@ jobs:
${{ runner.os }}-composer-
- name: Cache phpcsfixer
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /tmp/base_cache/phpcsfixer
key: ${{ runner.os }}-phpcsfixer-${{ env.IMAGE_VERSION }}-${{ hashFiles('*/.php-cs-fixer.php') }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
mkdir -p /tmp/base_cache/phpstan
- name: Cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /tmp/base_cache/composer
key: ${{ runner.os }}-composer-${{ env.IMAGE_VERSION }}-${{ hashFiles('*/composer.json', 'src/Components/*/composer.json') }}
Expand All @@ -46,7 +46,7 @@ jobs:
${{ runner.os }}-composer-
- name: Cache phpstan
uses: actions/cache@v3
uses: actions/cache@v4
if: ${{ false }}
with:
path: /tmp/base_cache/phpstan
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
mkdir -p /tmp/base_cache/rector
- name: Cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /tmp/base_cache/composer
key: ${{ runner.os }}-composer-${{ env.IMAGE_VERSION }}-${{ hashFiles('*/composer.json', 'src/Components/*/composer.json') }}
Expand All @@ -61,7 +61,7 @@ jobs:
echo "test_prepared=1" >> $GITHUB_ENV
- name: Cache Rector
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /tmp/base_cache/rector
key: ${{ runner.os }}-rector-${{ env.IMAGE_VERSION }}-${{ github.run_id }}
Expand Down

0 comments on commit 50e83a4

Please sign in to comment.