From ef93d17362a7acade9113fff71cdd27b3cdefb5d Mon Sep 17 00:00:00 2001 From: Anatolios Laskaris Date: Mon, 3 Apr 2023 11:16:00 +0300 Subject: [PATCH] chore: Add ref (#72) Fix --- .github/workflows/e2e.yml | 2 ++ .github/workflows/tests.yml | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index ace73d8..c8d4032 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -15,3 +15,5 @@ concurrency: jobs: aqua-playground: uses: ./.github/workflows/tests.yml + with: + ref: ${{ github.ref }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9ef837a..e7c20c2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -3,6 +3,10 @@ name: Run tests with workflow_call on: workflow_call: inputs: + ref: + description: "git ref to checkout to" + type: string + default: "master" fluence-env: description: "Fluence enviroment to run tests agains" type: string @@ -62,6 +66,7 @@ jobs: uses: actions/checkout@v3 with: repository: fluencelabs/aqua-playground + ref: ${{ inputs.ref }} - name: Pull rust-peer image run: docker pull $RUST_PEER_IMAGE