diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3611d91..880e754 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,10 +17,10 @@ jobs: run: cp .env.example .env - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Build Docker images - uses: docker/bake-action@v3 + uses: docker/bake-action@v4 with: load: true files: | @@ -36,7 +36,7 @@ jobs: run: docker compose up -d mysql mysql-test php-fpm --wait --no-build - name: Cache composer dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: vendor key: composer-${{ hashFiles('composer.lock') }} @@ -54,7 +54,7 @@ jobs: docker inspect "$PROJECT_NAME-mysql" - name: Cache npm dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: node_modules key: npm-${{ hashFiles('package-lock.json') }} @@ -72,7 +72,7 @@ jobs: run: docker exec "$PROJECT_NAME-php-fpm" composer run laravel-cache - name: Cache Larastan result cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .phpstan.cache key: "phpstan-result-cache-${{ github.run_id }}" # always unique key - always writes a new cache @@ -80,7 +80,7 @@ jobs: phpstan-result-cache- - name: Cache php-cs-fixer result cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .php-cs-fixer.cache key: "php-cs-fixer-result-cache-${{ github.run_id }}" # always unique key - always writes a new cache diff --git a/package.json b/package.json index e479854..4a64e50 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,8 @@ "dev": "vite", "build": "vite build", "lint": "eslint ./resources/js", - "test": "vitest", - "test-with-coverage": "vitest run --coverage" + "test": "vitest --passWithNoTests", + "test-with-coverage": "vitest run --coverage --passWithNoTests" }, "devDependencies": { "@vitejs/plugin-vue": "^4.5.2",