Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

simplify workflow with new shared git action #20

simplify workflow with new shared git action

simplify workflow with new shared git action #20

name: Regression Tests - Agglayer
on:
pull_request:
types: [opened, synchronize] # Trigger on new PR's and existing ones with new commits
branches:
- main
jobs:
deploy_devnet:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build agglayer image locally
id: build_agglayer
run: |
if [ "$GITHUB_EVENT_NAME" == "pull_request" ]; then
GITHUB_SHA_SHORT=$(jq -r .pull_request.head.sha "$GITHUB_EVENT_PATH" | cut -c 1-7)
echo $GITHUB_SHA_SHORT
echo "::set-output name=GITHUB_SHA_SHORT::$GITHUB_SHA_SHORT"
fi
- name: Set up Docker
uses: docker/setup-buildx-action@v1
- name: Run regression tests against custom user-specified images
uses: 0xPolygon/[email protected]
with:
zkevm_agglayer: ${{ steps.build_agglayer.outputs.GITHUB_SHA_SHORT }}
kurtosis_cli: 0.89.3
kurtosis_cdk: v0.2.0