From 21d261f9f071621767589b27f9dd31f60da211fd Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 12 Oct 2025 13:48:55 +0200 Subject: [PATCH] GitHub Action: make fix-all (v3) (#8096) Can be triggered by writting a comment: `/fix-all` Follow-up of: * https://github.com/FreshRSS/FreshRSS/pull/8094 * https://github.com/FreshRSS/FreshRSS/pull/8095 Fix `composer install` and `npm install` --- .github/workflows/commands.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/commands.yml b/.github/workflows/commands.yml index ecd3f6ada..a0875bbb3 100644 --- a/.github/workflows/commands.yml +++ b/.github/workflows/commands.yml @@ -64,6 +64,27 @@ jobs: repository: ${{ fromJSON(steps.pr.outputs.result).repo.full_name }} ref: ${{ fromJSON(steps.pr.outputs.result).ref }} + - name: Use Composer cache + id: composer-cache + uses: actions/cache@v4 + with: + path: vendor + key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }} + restore-keys: | + ${{ runner.os }}-php- + + - name: Run Composer install + run: composer install --prefer-dist --no-progress + if: steps.composer-cache.outputs.cache-hit != 'true' + + - name: Uses Node.js + uses: actions/setup-node@v5 + with: + node-version: lts/* + cache: npm + + - run: npm ci + - name: Run make fix-all id: fix run: |