build(deps-dev): bump @vitejs/plugin-react from 4.3.3 to 4.3.4 in /single-page-app/ui #736
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Verify | |
permissions: | |
contents: read | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
concurrency: | |
group: >- | |
${{ github.event.inputs.head_ref || github.run_id }} | |
jobs: | |
verify: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- run: | | |
TEMPDIR=/cache/docker | |
sudo mkdir -p "${TEMPDIR}" | |
sudo mount -t tmpfs none "$TEMPDIR" | |
sudo chown runner "$TEMPDIR" | |
- uses: actions/cache/restore@v4 | |
id: cache | |
with: | |
path: /cache/docker | |
key: ${{ runner.os }}-docker-${{ hashFiles('**/Dockerfile*') }} | |
- run: | | |
sudo systemctl stop docker docker.socket | |
sudo rm -rf /var/lib/docker/{*,.*} | |
TEMPDIR=/cache/docker | |
zstd --stdout -d "${TEMPDIR}/docker.tar.zst" | sudo tar --warning=no-timestamp -xf - -C /var/lib/docker | |
sudo umount "$TEMPDIR" | |
sudo systemctl start docker | |
if: steps.cache.outputs.cache-hit == 'true' | |
- run: | | |
sudo systemctl stop docker docker.socket | |
sudo rm -rf /var/lib/docker/{*,.*} | |
sudo systemctl start docker | |
if: steps.cache.outputs.cache-hit != 'true' && github.event_name != 'pull_request' | |
- run: | | |
TEMPDIR=/cache/docker | |
sudo mkdir -p "${TEMPDIR}" | |
sudo mount -t tmpfs none "$TEMPDIR" | |
sudo chown runner "$TEMPDIR" | |
- uses: actions/cache@v4 | |
with: | |
path: /home/runner/.cache | |
key: ${{ runner.os }}-bazel-${{ hashFiles('**/BUILD', '**/*bzl', 'WORKSPACE') }} | |
- run: | | |
sudo apt-get update | |
sudo apt-get -qq install -y --no-install-recommends expect gettext yq whois | |
- run: | | |
docker pull envoyproxy/envoy:dev | |
DEV_CONTAINER_ID=$(docker inspect --format='{{.Id}}' envoyproxy/envoy:dev) | |
echo "DEV_CONTAINER_ID=${DEV_CONTAINER_ID}" >> $GITHUB_ENV | |
- run: | | |
bazel run --config=ci \ | |
--action_env="DEV_CONTAINER_ID=${DEV_CONTAINER_ID}" \ | |
--host_action_env="DEV_CONTAINER_ID=${DEV_CONTAINER_ID}" \ | |
--sandbox_writable_path="${HOME}/.docker/" \ | |
--sandbox_writable_path=$HOME :verify_examples | |
- run: | | |
sudo systemctl stop docker docker.socket | |
TEMPDIR=/cache/docker | |
sudo tar cf - -C /var/lib/docker . | zstd - -q -T0 -o "${TEMPDIR}/docker.tar.zst" | |
ls -alh "${TEMPDIR}/docker.tar.zst" | |
if: steps.cache.outputs.cache-hit != 'true' && github.event_name != 'pull_request' | |
- uses: actions/cache/save@v4 | |
if: steps.cache.outputs.cache-hit != 'true' && github.event_name != 'pull_request' | |
with: | |
path: /cache/docker | |
key: ${{ runner.os }}-docker-${{ hashFiles('**/Dockerfile*') }} |