Skip to content

CI triggered from @diegoximenes of fix_ci_cache #124

CI triggered from @diegoximenes of fix_ci_cache

CI triggered from @diegoximenes of fix_ci_cache #124

Workflow file for this run

name: CI
run-name: CI triggered from @${{ github.actor }} of ${{ github.head_ref }}
on:
workflow_dispatch:
merge_group:
pull_request:
push:
branches:
- master
- develop
jobs:
build_and_run:
runs-on: ubuntu-8
strategy:
matrix:
pos: [true, false]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
driver-opts: network=host
- name: Cache Docker layers
uses: actions/cache@v3
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ hashFiles('**/Dockerfile') }}
restore-keys: ${{ runner.os }}-buildx-
# - name: ls1
# run: ls /tmp/.buildx-cache
# - name: Build
# run: docker buildx bake --file docker-compose.yaml --file docker-compose-ci-cache.json scripts
#
# - name: ls2
# run: ls /tmp/.buildx-cache
#
# - name: up
# run: docker compose up scripts
- name: Startup Nitro testnode
run: ${{ github.workspace }}/.github/workflows/testnode.bash ${{ matrix.pos == true && '--pos' || '' }}