diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0b08b2d..8ea5456 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ jobs: strategy: matrix: - php: [ '7.4', '8.0', '8.1', '8.2' ] + php: [ '7.4', '8.0', '8.1', '8.2', '8.3' ] prefer: [ 'lowest', 'stable' ] name: Test on PHP ${{ matrix.php }} with ${{ matrix.prefer }} composer prefer option @@ -15,7 +15,7 @@ jobs: steps: - name: Checkout Code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install PHP uses: shivammathur/setup-php@v2 @@ -27,7 +27,7 @@ jobs: - name: Cache Composer packages id: composer-cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: vendor key: ${{ runner.os }}-php-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }}-${{ matrix.prefer }}- @@ -46,8 +46,14 @@ jobs: runs-on: ubuntu-latest steps: + # Master branch should be available for the linter - name: Checkout Code - uses: actions/checkout@v2 + uses: actions/checkout@v4 + with: + ref: master + + - name: Checkout Code + uses: actions/checkout@v4 - name: Install PHP uses: shivammathur/setup-php@v2 @@ -58,8 +64,10 @@ jobs: run: composer update --prefer-stable --prefer-dist --no-progress - name: Lint Code - uses: github/super-linter@v4 + uses: super-linter/super-linter@v7 env: FILTER_REGEX_EXCLUDE: .*vendor.* GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + VALIDATE_CHECKOV: false + VALIDATE_JSCPD: false VALIDATE_PHP_PSALM: false