diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index dd64097..f6fedad 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - php-versions: ['7.3', '7.4', '8.0','8.1','8.2'] + php-versions: ['8.1','8.2','8.3'] name: PHP ${{ matrix.php-versions }} steps: - uses: actions/checkout@v2 @@ -23,8 +23,9 @@ jobs: php-version: ${{ matrix.php-versions }} - name: Get composer cache directory id: composer-cache - run: echo "::set-output name=dir::$(composer config cache-files-dir)" - - uses: actions/cache@v2 + run: | + echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT + - uses: actions/cache@v4 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} diff --git a/composer.json b/composer.json index 83575fb..a77ee7f 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,7 @@ "description": "PHP_CodeSniffer tokenises PHP, JavaScript and CSS files and detects violations of a defined set of coding standards. Hostnet version", "license": "MIT", "require": { - "php": "^7.3|^8.0", + "php": "^8.1", "composer-plugin-api": "^2.0.0", "hostnet/path-composer-plugin-lib": "^1.0.5", "slevomat/coding-standard": "^8.6.2",