Try combining everything into one pipeline

This commit is contained in:
Abdul Rabbani 2022-04-22 16:45:16 -04:00
parent ce808f417a
commit 35e0f7ec98

View File

@ -11,6 +11,13 @@ on:
description: "The branch, commit or sha from ipld-eth-db to checkout"
required: false
default: "main"
pull_request:
paths:
- "!**.md"
- ".gitignore"
- "!LICENSE"
- "!.github/workflows/**"
- ".github/workflows/on-pr-automated.yaml"
jobs:
build:
@ -25,6 +32,8 @@ jobs:
name: Run Unit Tests
runs-on: ubuntu-latest
env:
foundry-test-ref: ${{ github.event.inputs.foundry-test-ref || 'feature/build-stack'}}
ipld-eth-db-ref: ${{ github.event.inputs.ipld-eth-db-ref || 'main' }}
GOPATH: /tmp/go
steps:
- name: Create GOPATH
@ -36,14 +45,14 @@ jobs:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.foundry-test-ref }}
ref: ${{ env.foundry-test-ref }}
path: "./foundry-test/"
repository: vulcanize/foundry-test
fetch-depth: 0
- uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.ipld-eth-db-ref }}
ref: ${{ env.ipld-eth-db-ref }}
repository: vulcanize/ipld-eth-db
path: "./ipld-eth-db/"
fetch-depth: 0
@ -86,14 +95,14 @@ jobs:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.foundry-test-ref }}
ref: ${{ env.foundry-test-ref }}
path: "./foundry-test/"
repository: vulcanize/foundry-test
fetch-depth: 0
- uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.ipld-eth-db-ref }}
ref: ${{ env.ipld-eth-db-ref }}
repository: vulcanize/ipld-eth-db
path: "./ipld-eth-db/"
fetch-depth: 0