diff --git a/.docker/Dockerfile b/.docker/Dockerfile index 4ae35a4..cf71437 100644 --- a/.docker/Dockerfile +++ b/.docker/Dockerfile @@ -1,4 +1,4 @@ -FROM php:7.1-fpm +FROM php:7.1-fpm@sha256:8c526fa0d10f4cdb1db1dd6dc6c277fae74719bc7ea73b536ea16c389e3fe436 COPY . . WORKDIR . diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml index 6d1f852..5b9f87d 100644 --- a/.github/workflows/backend.yml +++ b/.github/workflows/backend.yml @@ -26,30 +26,30 @@ jobs: APP_ENV: test steps: - name: Cancel Previous Runs - uses: styfle/cancel-workflow-action@0.12.1 + uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1 with: ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5 - name: Setup php extensions cache id: extcache - uses: shivammathur/cache-extensions@v1 + uses: shivammathur/cache-extensions@4595bea7d6630821b0a3a4894f816402faaf324c # v1 with: php-version: ${{ env.PHP_VERSION }} extensions: ${{ env.PHP_EXTENSIONS }} key: ${{ env.PHP_EXTENSIONS_CACHE_KEY }} - name: Cache php extensions - uses: actions/cache@v4 + uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4 with: path: ${{ steps.extcache.outputs.dir }} key: ${{ steps.extcache.outputs.key }} restore-keys: ${{ steps.extcache.outputs.key }} - name: Setup PHP - uses: shivammathur/setup-php@v2 + uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2 with: php-version: ${{ env.PHP_VERSION }} tools: ${{ env.PHP_TOOLS }} @@ -70,7 +70,7 @@ jobs: run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache dependencies - uses: actions/cache@v4 + uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}-composer