Skip to content

chore(deps): bump cmake from 3.30.2 to 3.30.3 in /.devcontainer (#567) #287

chore(deps): bump cmake from 3.30.2 to 3.30.3 in /.devcontainer (#567)

chore(deps): bump cmake from 3.30.2 to 3.30.3 in /.devcontainer (#567) #287

Workflow file for this run

---
name: Prime Cache
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
jobs:
prime-docker-cache:
runs-on: ubuntu-latest
strategy:
matrix:
flavor: ["cpp", "rust"]
steps:
- uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3.6.1
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
if: matrix.flavor == 'cpp'
id: buildkit-cache
with:
path: root-ccache
key: buildkit-cache-${{ github.run_id }}
restore-keys: |
buildkit-cache
- uses: reproducible-containers/buildkit-cache-dance@5b6db76d1da5c8b307d5d2e0706d266521b710de # v3.1.2
if: matrix.flavor == 'cpp'
with:
cache-map: |
{
"root-ccache": "/root/.ccache"
}
skip-extraction: ${{ steps.buildkit-cache.outputs.cache-hit }}
- uses: docker/build-push-action@5cd11c3a4ced054e52742c5fd54dca954e0edd85 # v6.7.0
with:
file: .devcontainer/${{ matrix.flavor }}/Dockerfile
platforms: linux/amd64,linux/arm64
cache-from: type=gha,scope=${{ github.repository }}-${{ matrix.flavor }}
cache-to: type=gha,mode=max,scope=${{ github.repository }}-${{ matrix.flavor }}
prime-xwin-cache:
runs-on: ubuntu-latest
steps:
- run: |
set -Eeuo pipefail
mkdir test
docker run --rm --mount type=bind,src="$(pwd)/test",dst=/ws -w /ws ghcr.io/${{ github.repository }}-cpp:latest xwin --accept-license splat --preserve-ms-arch-notation
- uses: actions/cache/save@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: test/.xwin-cache
key: xwin-cache