Skip to content

Bump actions/cache from 3 to 4 #165

Bump actions/cache from 3 to 4

Bump actions/cache from 3 to 4 #165

Workflow file for this run

name: Unit Tests on Magento 2
on:
pull_request:
branches:
- master
jobs:
unit-tests:
name: Magento 2 Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache Composer dependencies
uses: actions/cache@v4
with:
path: ~/.composer/cache
key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-
- name: Debug paths
run: |
echo "Current working directory:"
pwd
echo "List of files and directories:"
ls -la
echo "Contents of dev/tests/integration:"
ls -la dev/tests/integration || echo "Directory does not exist"
- uses: extdn/github-actions-m2/magento-unit-tests/8.1@master
env:
MAGENTO_VERSION: '2.4.6'
MODULE_NAME: Crealoz_EasyAudit
COMPOSER_NAME: crealoz/easy-audit-free
PHPUNIT_FILE: 'Test/Unit/phpunit.xml.dist'