diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index fe09c93..3b6f64b 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -8,7 +8,16 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - php-version: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0'] + php-version: + - '7.0' + - '7.1' + - '7.2' + - '7.3' + - '7.4' + - '8.0' + - '8.1' + - '8.2' + - '8.3' steps: - uses: actions/checkout@v2 @@ -18,5 +27,14 @@ jobs: with: php-version: ${{ matrix.php-version }} + - name: Cache dependencies + uses: actions/cache@v4 + with: + path: ~/.cache/composer + key: composer-${{ matrix.php-version }}-${{ hashFiles('composer.*') }} + restore-keys: | + composer-${{ matrix.php-version }}- + composer- + - run: composer install --prefer-dist --no-progress --no-suggest - - run: ./test/run \ No newline at end of file + - run: ./test/run