diff --git a/.github/actions/init/action.yml b/.github/actions/init/action.yml index 114d958fcfd..b8d7b684698 100644 --- a/.github/actions/init/action.yml +++ b/.github/actions/init/action.yml @@ -14,7 +14,7 @@ runs: run: | echo "STORE_PATH=$(pnpm store path -s)" >> $GITHUB_OUTPUT - - uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3 + - uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 name: Setup pnpm cache id: cache with: diff --git a/.github/actions/restore-icons-cache/action.yml b/.github/actions/restore-icons-cache/action.yml index 136a53445d4..53e225cde6b 100644 --- a/.github/actions/restore-icons-cache/action.yml +++ b/.github/actions/restore-icons-cache/action.yml @@ -9,7 +9,7 @@ outputs: runs: using: composite steps: - - uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # 4.2.2 + - uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 id: cache with: path: | diff --git a/.github/workflows/build-host.yml b/.github/workflows/build-host.yml index 4c19c6b228b..00b47eeca19 100644 --- a/.github/workflows/build-host.yml +++ b/.github/workflows/build-host.yml @@ -35,7 +35,7 @@ jobs: run: pnpm deploy:boxel-host build-only --verbose - name: Save dist - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: host-dist path: packages/host/tmp/deploy-dist diff --git a/.github/workflows/ci-host.yaml b/.github/workflows/ci-host.yaml index 18f260d76fa..0a420f9aabd 100644 --- a/.github/workflows/ci-host.yaml +++ b/.github/workflows/ci-host.yaml @@ -91,7 +91,7 @@ jobs: - uses: ./.github/actions/init - name: Download test web assets - uses: actions/download-artifact@b14cf4c92620c250e1c074ab0a5800e37df86765 # 4.2.0 + uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: name: ${{ needs.test-web-assets.outputs.artifact_name }} path: .test-web-assets-artifact @@ -123,7 +123,7 @@ jobs: DBUS_SYSTEM_BUS_ADDRESS: unix:path=/run/dbus/system_bus_socket - name: Upload junit report - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 if: ${{ !cancelled() }} with: name: host-live-test-report @@ -150,7 +150,7 @@ jobs: - uses: ./.github/actions/init - name: Download test web assets - uses: actions/download-artifact@b14cf4c92620c250e1c074ab0a5800e37df86765 # 4.2.0 + uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: name: ${{ needs.test-web-assets.outputs.artifact_name }} path: .test-web-assets-artifact @@ -212,7 +212,7 @@ jobs: working-directory: packages/host - name: Upload junit report to GitHub Actions Artifacts - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 if: ${{ !cancelled() }} with: name: host-test-report-${{ matrix.shardIndex }} @@ -232,63 +232,63 @@ jobs: grep -E '^\[start:icons' /tmp/server.log > /tmp/icon-server.log || true grep -E '^\[start:host-dist' /tmp/server.log > /tmp/host-dist.log || true - name: Upload realm server log - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 if: ${{ !cancelled() }} with: name: realm-server-log-${{ matrix.shardIndex }} path: /tmp/server.log retention-days: 30 - name: Upload worker manager log - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 if: ${{ !cancelled() }} with: name: worker-manager-log-${{ matrix.shardIndex }} path: /tmp/worker-manager.log retention-days: 30 - name: Upload prerender server log - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 if: ${{ !cancelled() }} with: name: prerender-server-log-${{ matrix.shardIndex }} path: /tmp/prerender-server.log retention-days: 30 - name: Upload prerender manager log - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 if: ${{ !cancelled() }} with: name: prerender-manager-log-${{ matrix.shardIndex }} path: /tmp/prerender-manager.log retention-days: 30 - name: Upload start:development log - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 if: ${{ !cancelled() }} with: name: start-development-log-${{ matrix.shardIndex }} path: /tmp/start-development.log retention-days: 30 - name: Upload test-realms log - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 if: ${{ !cancelled() }} with: name: test-realms-log-${{ matrix.shardIndex }} path: /tmp/test-realms.log retention-days: 30 - name: Upload icon server log - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 if: ${{ !cancelled() }} with: name: icon-server-log-${{ matrix.shardIndex }} path: /tmp/icon-server.log retention-days: 30 - name: Upload host-dist log - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 if: ${{ !cancelled() }} with: name: host-dist-log-${{ matrix.shardIndex }} path: /tmp/host-dist.log retention-days: 30 - name: Upload testem log - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 if: ${{ !cancelled() }} with: name: testem-log-${{ matrix.shardIndex }} @@ -329,7 +329,7 @@ jobs: - uses: ./.github/actions/init - name: Download JUnit reports from GitHub Actions Artifacts - uses: actions/download-artifact@b14cf4c92620c250e1c074ab0a5800e37df86765 # 4.2.0 + uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: path: all-host-reports pattern: host-test-report-* @@ -346,7 +346,7 @@ jobs: run: sed -i -E 's/classname="Chrome [^"]*"/classname="Chrome"/' host.xml - name: Upload merged report - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 if: ${{ !cancelled() }} with: name: host-test-report-merged diff --git a/.github/workflows/ci-software-factory.yaml b/.github/workflows/ci-software-factory.yaml index 7644357054b..0f0008574a5 100644 --- a/.github/workflows/ci-software-factory.yaml +++ b/.github/workflows/ci-software-factory.yaml @@ -44,7 +44,7 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - uses: ./.github/actions/init - name: Download test web assets - uses: actions/download-artifact@b14cf4c92620c250e1c074ab0a5800e37df86765 # 4.2.0 + uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: name: ${{ needs.test-web-assets.outputs.artifact_name }} path: .test-web-assets-artifact @@ -60,19 +60,15 @@ jobs: run: pnpm test:node working-directory: packages/software-factory - name: Serve test assets (icons + host dist) - uses: JarvusInnovations/background-action@2428e7b970a846423095c79d43f759abf979a635 # 1.0.7 - with: - run: mise run ci:serve-test-assets & - wait-for: 3m - wait-on: | - http-get://localhost:4200 - http-get://localhost:4206 + run: | + mise run ci:serve-test-assets & + timeout 180 bash -c 'until curl -sf http://localhost:4200 > /dev/null && curl -sf http://localhost:4206 > /dev/null; do sleep 2; done' - name: Run Playwright tests run: pnpm test:playwright working-directory: packages/software-factory - name: Upload Playwright traces if: ${{ !cancelled() }} - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: software-factory-playwright-traces path: packages/software-factory/test-results/**/trace.zip diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c2dec33f0b7..61f123cc1b9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -37,7 +37,7 @@ jobs: run_all: ${{ steps.force-run-all.outputs.run_all }} steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # 3.0.2 + - uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1 id: filter with: filters: | @@ -330,7 +330,7 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - uses: ./.github/actions/init - name: Download test web assets - uses: actions/download-artifact@b14cf4c92620c250e1c074ab0a5800e37df86765 # 4.2.0 + uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: name: ${{ needs.test-web-assets.outputs.artifact_name }} path: .test-web-assets-artifact @@ -343,13 +343,9 @@ jobs: run: pnpm exec playwright install working-directory: packages/matrix - name: Start test services (icons + host dist + base realm) - uses: JarvusInnovations/background-action@2428e7b970a846423095c79d43f759abf979a635 # 1.0.7 - with: - run: MATRIX_REGISTRATION_SHARED_SECRET='xxxx' mise run test-services:matrix | tee -a /tmp/server.log & - wait-for: 5m - wait-on: | - http-get://localhost:4200 - http-get://localhost:4206 + run: | + MATRIX_REGISTRATION_SHARED_SECRET='xxxx' mise run test-services:matrix | tee -a /tmp/server.log & + timeout 300 bash -c 'until curl -sf http://localhost:4200 > /dev/null && curl -sf http://localhost:4206 > /dev/null; do sleep 2; done' - name: Run Playwright tests run: pnpm test:group ${{ matrix.shardIndex }}/${{ matrix.shardTotal }} working-directory: packages/matrix @@ -365,42 +361,42 @@ jobs: grep -E '^\[start:icons' /tmp/server.log > /tmp/icon-server.log || true grep -E '^\[start:host-dist' /tmp/server.log > /tmp/host-dist.log || true - name: Upload realm server log - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 if: ${{ !cancelled() }} with: name: matrix-test-realm-server-log-${{ matrix.shardIndex }} path: /tmp/server.log retention-days: 30 - name: Upload worker manager log - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 if: ${{ !cancelled() }} with: name: matrix-test-worker-manager-log-${{ matrix.shardIndex }} path: /tmp/worker-manager.log retention-days: 30 - name: Upload prerender server log - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 if: ${{ !cancelled() }} with: name: matrix-test-prerender-server-log-${{ matrix.shardIndex }} path: /tmp/prerender-server.log retention-days: 30 - name: Upload prerender manager log - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 if: ${{ !cancelled() }} with: name: matrix-test-prerender-manager-log-${{ matrix.shardIndex }} path: /tmp/prerender-manager.log retention-days: 30 - name: Upload icon server log - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 if: ${{ !cancelled() }} with: name: matrix-test-icon-server-log-${{ matrix.shardIndex }} path: /tmp/icon-server.log retention-days: 30 - name: Upload host-dist log - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 if: ${{ !cancelled() }} with: name: matrix-test-host-dist-log-${{ matrix.shardIndex }} @@ -409,7 +405,7 @@ jobs: - name: Upload blob report to GitHub Actions Artifacts if: ${{ !cancelled() }} - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: blob-report-${{ matrix.shardIndex }} path: packages/matrix/blob-report @@ -417,7 +413,7 @@ jobs: - name: Upload Playwright traces if: ${{ !cancelled() }} - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: playwright-traces-${{ matrix.shardIndex }} path: packages/matrix/test-results/**/trace.zip @@ -453,7 +449,7 @@ jobs: - uses: ./.github/actions/init - name: Download blob reports from GitHub Actions Artifacts - uses: actions/download-artifact@b14cf4c92620c250e1c074ab0a5800e37df86765 # 4.2.0 + uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: path: all-blob-reports pattern: blob-report-* @@ -463,7 +459,7 @@ jobs: run: pnpm exec playwright merge-reports --reporter html ./all-blob-reports - name: Upload HTML report - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: html-report--attempt-${{ github.run_attempt }} path: playwright-report @@ -478,7 +474,7 @@ jobs: echo "AWS_S3_BUCKET=cardstack-boxel-matrix-playwright-reports-staging" >> $GITHUB_ENV - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@ececac1a45f3b08a01d2dd070d28d111c5fe6722 # 4.1.0 + uses: aws-actions/configure-aws-credentials@ec61189d14ec14c8efccab744f656cffd0e33f37 # v6.1.0 with: role-to-assume: ${{ env.AWS_ROLE_ARN }} aws-region: us-east-1 @@ -528,7 +524,7 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - uses: ./.github/actions/init - name: Download test web assets - uses: actions/download-artifact@b14cf4c92620c250e1c074ab0a5800e37df86765 # 4.2.0 + uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: name: ${{ needs.test-web-assets.outputs.artifact_name }} path: .test-web-assets-artifact @@ -553,7 +549,7 @@ jobs: TEST_MODULES: ${{ steps.shard_modules.outputs.modules }} JUNIT_OUTPUT_FILE: ${{ github.workspace }}/junit/realm-server-${{ matrix.shardIndex }}.xml - name: Upload junit report - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 if: ${{ !cancelled() }} with: name: realm-server-test-report-${{ matrix.shardIndex }} @@ -579,56 +575,56 @@ jobs: grep -E '^\[start:icons' /tmp/server.log > /tmp/icon-server.log || true grep -E '^\[start:host-dist' /tmp/server.log > /tmp/host-dist.log || true - name: Upload realm server log - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 if: ${{ !cancelled() }} with: name: realm-server-test-realm-server-log-${{steps.artifact_name.outputs.artifact_name}} path: /tmp/server.log retention-days: 30 - name: Upload worker manager log - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 if: ${{ !cancelled() }} with: name: realm-server-test-worker-manager-log-${{steps.artifact_name.outputs.artifact_name}} path: /tmp/worker-manager.log retention-days: 30 - name: Upload prerender server log - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 if: ${{ !cancelled() }} with: name: realm-server-test-prerender-server-log-${{steps.artifact_name.outputs.artifact_name}} path: /tmp/prerender-server.log retention-days: 30 - name: Upload prerender manager log - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 if: ${{ !cancelled() }} with: name: realm-server-test-prerender-manager-log-${{steps.artifact_name.outputs.artifact_name}} path: /tmp/prerender-manager.log retention-days: 30 - name: Upload start:development log - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 if: ${{ !cancelled() }} with: name: realm-server-test-start-development-log-${{steps.artifact_name.outputs.artifact_name}} path: /tmp/start-development.log retention-days: 30 - name: Upload test-realms log - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 if: ${{ !cancelled() }} with: name: realm-server-test-test-realms-log-${{steps.artifact_name.outputs.artifact_name}} path: /tmp/test-realms.log retention-days: 30 - name: Upload icon server log - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 if: ${{ !cancelled() }} with: name: realm-server-test-icon-server-log-${{steps.artifact_name.outputs.artifact_name}} path: /tmp/icon-server.log retention-days: 30 - name: Upload host-dist log - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 if: ${{ !cancelled() }} with: name: realm-server-test-host-dist-log-${{steps.artifact_name.outputs.artifact_name}} @@ -647,7 +643,7 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - uses: ./.github/actions/init - name: Download JUnit reports - uses: actions/download-artifact@b14cf4c92620c250e1c074ab0a5800e37df86765 # 4.2.0 + uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: path: all-realm-server-reports pattern: realm-server-test-report-* @@ -655,7 +651,7 @@ jobs: - name: Merge reports run: npx junit-report-merger realm-server.xml "./all-realm-server-reports/*.xml" - name: Upload merged report - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 if: ${{ !cancelled() }} with: name: realm-server-test-report-merged @@ -680,7 +676,7 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - uses: ./.github/actions/init - name: Download test web assets - uses: actions/download-artifact@b14cf4c92620c250e1c074ab0a5800e37df86765 # 4.2.0 + uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: name: ${{ needs.test-web-assets.outputs.artifact_name }} path: .test-web-assets-artifact @@ -696,7 +692,7 @@ jobs: run: pnpm vscode:package working-directory: packages/vscode-boxel-tools - name: Upload - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: vscode-boxel-tools path: packages/vscode-boxel-tools/boxel-tools*vsix @@ -728,7 +724,7 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - uses: ./.github/actions/init - name: Download test web assets - uses: actions/download-artifact@b14cf4c92620c250e1c074ab0a5800e37df86765 # 4.2.0 + uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: name: ${{ needs.test-web-assets.outputs.artifact_name }} path: .test-web-assets-artifact @@ -741,13 +737,9 @@ jobs: run: pnpm build working-directory: packages/workspace-sync-cli - name: Serve test assets (icons + host dist) - uses: JarvusInnovations/background-action@2428e7b970a846423095c79d43f759abf979a635 # 1.0.7 - with: - run: mise run ci:serve-test-assets & - wait-for: 3m - wait-on: | - http-get://localhost:4200 - http-get://localhost:4206 + run: | + mise run ci:serve-test-assets & + timeout 180 bash -c 'until curl -sf http://localhost:4200 > /dev/null && curl -sf http://localhost:4206 > /dev/null; do sleep 2; done' - name: Start PostgreSQL for tests run: pnpm start:pg | tee -a /tmp/test-services.log & working-directory: packages/realm-server @@ -761,7 +753,7 @@ jobs: run: pnpm test working-directory: packages/workspace-sync-cli - name: Upload test services log - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 if: ${{ !cancelled() }} with: name: workspace-sync-cli-test-services-log diff --git a/.github/workflows/deploy-host.yml b/.github/workflows/deploy-host.yml index d69dfbc5910..4edfbb295e9 100644 --- a/.github/workflows/deploy-host.yml +++ b/.github/workflows/deploy-host.yml @@ -41,13 +41,13 @@ jobs: fi - name: Download dist - uses: actions/download-artifact@b14cf4c92620c250e1c074ab0a5800e37df86765 # 4.2.0 + uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: name: host-dist path: packages/host/tmp/deploy-dist - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@ececac1a45f3b08a01d2dd070d28d111c5fe6722 # 4.1.0 + uses: aws-actions/configure-aws-credentials@ec61189d14ec14c8efccab744f656cffd0e33f37 # v6.1.0 with: role-to-assume: ${{ env.AWS_ROLE_ARN }} aws-region: us-east-1 diff --git a/.github/workflows/deploy-ui.yml b/.github/workflows/deploy-ui.yml index f6e8f2d0905..369d58afb51 100644 --- a/.github/workflows/deploy-ui.yml +++ b/.github/workflows/deploy-ui.yml @@ -44,7 +44,7 @@ jobs: SKIP_ICONS_BUILD: ${{ steps.icons-cache.outputs.cache-hit }} - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@ececac1a45f3b08a01d2dd070d28d111c5fe6722 # 4.1.0 + uses: aws-actions/configure-aws-credentials@ec61189d14ec14c8efccab744f656cffd0e33f37 # v6.1.0 with: role-to-assume: ${{ env.AWS_ROLE_ARN }} aws-region: us-east-1 diff --git a/.github/workflows/pr-boxel-ui.yml b/.github/workflows/pr-boxel-ui.yml index 98aa9da5420..f9a621ebf6a 100644 --- a/.github/workflows/pr-boxel-ui.yml +++ b/.github/workflows/pr-boxel-ui.yml @@ -49,7 +49,7 @@ jobs: steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@ececac1a45f3b08a01d2dd070d28d111c5fe6722 # 4.1.0 + uses: aws-actions/configure-aws-credentials@ec61189d14ec14c8efccab744f656cffd0e33f37 # v6.1.0 with: role-to-assume: arn:aws:iam::680542703984:role/boxel-ui aws-region: us-east-1 diff --git a/.github/workflows/preview-host.yml b/.github/workflows/preview-host.yml index 5058493e99a..8361b2bd50c 100644 --- a/.github/workflows/preview-host.yml +++ b/.github/workflows/preview-host.yml @@ -56,7 +56,7 @@ jobs: steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@ececac1a45f3b08a01d2dd070d28d111c5fe6722 # 4.1.0 + uses: aws-actions/configure-aws-credentials@ec61189d14ec14c8efccab744f656cffd0e33f37 # v6.1.0 with: role-to-assume: arn:aws:iam::680542703984:role/boxel-host aws-region: us-east-1 @@ -87,7 +87,7 @@ jobs: steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@ececac1a45f3b08a01d2dd070d28d111c5fe6722 # 4.1.0 + uses: aws-actions/configure-aws-credentials@ec61189d14ec14c8efccab744f656cffd0e33f37 # v6.1.0 with: role-to-assume: arn:aws:iam::120317779495:role/boxel-host aws-region: us-east-1 diff --git a/.github/workflows/sync-synapse-templates.yml b/.github/workflows/sync-synapse-templates.yml index 212f5f6431c..86ea8a375a7 100644 --- a/.github/workflows/sync-synapse-templates.yml +++ b/.github/workflows/sync-synapse-templates.yml @@ -49,7 +49,7 @@ jobs: fi - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@ececac1a45f3b08a01d2dd070d28d111c5fe6722 # 4.1.0 + uses: aws-actions/configure-aws-credentials@ec61189d14ec14c8efccab744f656cffd0e33f37 # v6.1.0 with: role-to-assume: ${{ env.AWS_ROLE_ARN }} aws-region: us-east-1 diff --git a/.github/workflows/test-web-assets.yaml b/.github/workflows/test-web-assets.yaml index 51796c41ecc..b9755513c3b 100644 --- a/.github/workflows/test-web-assets.yaml +++ b/.github/workflows/test-web-assets.yaml @@ -49,7 +49,7 @@ jobs: - name: Restore cached assets id: restore - uses: actions/cache/restore@d4323d4df104b026a6aa633fdb11d772146be0bf # 4.2.2 + uses: actions/cache/restore@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 with: key: ${{ steps.keys.outputs.cache_key }} path: | @@ -101,7 +101,7 @@ jobs: - name: Save cached assets if: steps.restore.outputs.cache-hit != 'true' - uses: actions/cache/save@d4323d4df104b026a6aa633fdb11d772146be0bf # 4.2.2 + uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 with: key: ${{ steps.keys.outputs.cache_key }} path: | @@ -111,7 +111,7 @@ jobs: .ci/test-web-assets/manifest.json - name: Upload built assets - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: ${{ steps.keys.outputs.artifact_name }} path: |