diff --git a/.github/workflows/test-e2e.yml b/.github/workflows/test-e2e.yml index 4ecb1d2a1..8439eecbc 100644 --- a/.github/workflows/test-e2e.yml +++ b/.github/workflows/test-e2e.yml @@ -20,17 +20,17 @@ jobs: target: community steps: - name: Checkout repository - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@09d2acae674a48949e3602304ab46fd20ae0c42f # v4.2.2 - name: setup .env files run: | cp backend/.env.test_e2e backend/.env cp webapp/.env.template webapp/.env - - uses: docker/setup-buildx-action@c47758b77c9736f4b2ef4073d4d51994fabfe349 # v3.7.1 + - uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1 - name: Build ${{ matrix.name }} image - uses: docker/build-push-action@48aba3b46d40ca792a341ee059b55f7c3e9c2ac8 # v6.10.0 + uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0 with: context: ${{ matrix.context }} file: ${{ matrix.dockerfile }} @@ -39,7 +39,7 @@ jobs: outputs: type=docker,dest=/tmp/${{ matrix.name }}.tar - name: Upload ${{ matrix.name }} image - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + uses: actions/upload-artifact@de65e23aa2b7e23d713bb51fbfcb6d502f8667d8 # v4.6.2 with: name: ${{ matrix.name }}-image path: /tmp/${{ matrix.name }}.tar @@ -50,7 +50,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@09d2acae674a48949e3602304ab46fd20ae0c42f # v4.2.2 - name: Setup .env files run: | @@ -58,7 +58,7 @@ jobs: cp webapp/.env.template webapp/.env - name: Download built images - uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 + uses: actions/download-artifact@448e3f862ab3ef47aa50ff917776823c9946035b # v4.3.0 with: path: /tmp @@ -83,7 +83,7 @@ jobs: docker compose -f docker-compose.yml -f docker-compose.test.yml down - name: Upload initialized backend environment - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + uses: actions/upload-artifact@de65e23aa2b7e23d713bb51fbfcb6d502f8667d8 # v4.6.2 with: name: backend-environment-initialized path: | @@ -100,10 +100,10 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@09d2acae674a48949e3602304ab46fd20ae0c42f # v4.2.2 - name: Setup Node.js - uses: actions/setup-node@08f58d1471bff7f3a07d167b4ad7df25d5fcfcb6 # v4.4.0 + uses: actions/setup-node@7e24a656e1c7a0d6f3eaef8d8e84ae379a5b035b # v4.4.0 with: node-version-file: 'backend/.tool-versions' cache: 'yarn' @@ -126,7 +126,7 @@ jobs: - name: Restore unified CI cache id: restore-cache - uses: actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4.0.2 + uses: actions/cache/restore@640a1c2554105b57832a23eea0b4672fc7a790d5 # v4.2.3 with: key: ${{ steps.cache-key.outputs.key }} path: | @@ -164,7 +164,7 @@ jobs: - name: Save unified CI cache if: steps.restore-cache.outputs.cache-hit != 'true' - uses: actions/cache/save@5a3ec84eff668545956fd18022155c47e93e2684 # v4.0.2 + uses: actions/cache/save@640a1c2554105b57832a23eea0b4672fc7a790d5 # v4.2.3 with: key: ${{ steps.cache-key.outputs.key }} path: | @@ -180,10 +180,10 @@ jobs: needs: [cache-environment] steps: - name: Checkout repository - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@09d2acae674a48949e3602304ab46fd20ae0c42f # v4.2.2 - name: Restore unified CI cache - uses: actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4.0.2 + uses: actions/cache/restore@640a1c2554105b57832a23eea0b4672fc7a790d5 # v4.2.3 with: key: ${{ needs.cache-environment.outputs.cache-key }} path: | @@ -225,13 +225,13 @@ jobs: steps: #download docker images - name: Download initialized backend environment - uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 + uses: actions/download-artifact@448e3f862ab3ef47aa50ff917776823c9946035b # v4.3.0 with: name: backend-environment-initialized path: /tmp - name: Download webapp image - uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 + uses: actions/download-artifact@448e3f862ab3ef47aa50ff917776823c9946035b # v4.3.0 with: name: webapp-image path: /tmp @@ -248,7 +248,7 @@ jobs: #checkout repository - name: Checkout repository - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@09d2acae674a48949e3602304ab46fd20ae0c42f # v4.2.2 #setup .env files, make cypress reports dir - name: Setup .env files & reports dir @@ -260,7 +260,7 @@ jobs: #restore unified cache - name: Restore unified CI cache id: restore-cache - uses: actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4.0.2 + uses: actions/cache/restore@640a1c2554105b57832a23eea0b4672fc7a790d5 # v4.2.3 with: key: ${{ needs.cache-environment.outputs.cache-key }} path: | @@ -346,7 +346,7 @@ jobs: - name: Full stack tests | if tests failed, upload report if: ${{ failure() && steps.e2e-tests.conclusion == 'failure' }} - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + uses: actions/upload-artifact@de65e23aa2b7e23d713bb51fbfcb6d502f8667d8 # v4.6.2 with: name: e2e-html-report-${{ matrix.job }} path: cypress/reports/cucumber_html_report