From c769aa5fe447102173d90b8e0d2b5890f677feb8 Mon Sep 17 00:00:00 2001 From: lubiana Date: Tue, 17 Oct 2023 20:43:29 +0200 Subject: [PATCH] test --- .forgejo/workflows/push.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index f9d3504..53e7ada 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -6,7 +6,16 @@ jobs: image: git.php.fail/lubiana/container/php:8.2.11-node steps: - uses: actions/checkout@v3 - - run: env | sort + - name: Get Composer Cache Directory + id: composer-cache + run: | + echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT + - uses: actions/cache@v3 + with: + path: ${{ steps.composer-cache.outputs.dir }} + key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} + restore-keys: | + ${{ runner.os }}-composer- - run: composer install - run: composer fix - name: GIT commit and push all changed files