diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index 9d22be4..43b25e7 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -4,6 +4,10 @@ on: push: pull_request: +concurrency: + group: phpstan-${{ github.ref }} + cancel-in-progress: true + jobs: tests: name: PHP${{ matrix.php-version }} Static Code Analysis on Linux diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2b8ea23..3d3e1ef 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,6 +6,10 @@ on: schedule: - cron: '11 2 * * 1' +concurrency: + group: test-${{ github.ref }} + cancel-in-progress: true + jobs: linux: name: PHP${{ matrix.php-version }} Swoole-${{ matrix.swoole-version }} Test on Linux @@ -14,7 +18,7 @@ jobs: matrix: os: [ ubuntu-latest ] php-version: [ '8.0', '8.1', '8.2', '8.3' ] - swoole-version: [ 'v4.8.13', 'v5.1.4', 'master' ] + swoole-version: [ 'v4.8.13', 'v5.1.5', 'master' ] exclude: - php-version: '8.3' swoole-version: 'v4.8.13' @@ -71,7 +75,7 @@ jobs: matrix: os: [ macos-latest ] php-version: [ '8.0', '8.1', '8.2', '8.3' ] - swoole-version: [ 'v4.8.13', 'v5.1.4', 'master' ] + swoole-version: [ 'v4.8.13', 'v5.1.5', 'master' ] exclude: - php-version: '8.3' swoole-version: 'v4.8.13'