Try combining everything into one pipeline #13
17
.github/workflows/on-pr-manual.yml
vendored
17
.github/workflows/on-pr-manual.yml
vendored
@ -11,6 +11,13 @@ on:
|
|||||||
description: "The branch, commit or sha from ipld-eth-db to checkout"
|
description: "The branch, commit or sha from ipld-eth-db to checkout"
|
||||||
required: false
|
required: false
|
||||||
default: "main"
|
default: "main"
|
||||||
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- "!**.md"
|
||||||
|
- ".gitignore"
|
||||||
|
- "!LICENSE"
|
||||||
|
- "!.github/workflows/**"
|
||||||
|
- ".github/workflows/on-pr-automated.yaml"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -25,6 +32,8 @@ jobs:
|
|||||||
name: Run Unit Tests
|
name: Run Unit Tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
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
|
GOPATH: /tmp/go
|
||||||
steps:
|
steps:
|
||||||
- name: Create GOPATH
|
- name: Create GOPATH
|
||||||
@ -36,14 +45,14 @@ jobs:
|
|||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.inputs.foundry-test-ref }}
|
ref: ${{ env.foundry-test-ref }}
|
||||||
path: "./foundry-test/"
|
path: "./foundry-test/"
|
||||||
repository: vulcanize/foundry-test
|
repository: vulcanize/foundry-test
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.inputs.ipld-eth-db-ref }}
|
ref: ${{ env.ipld-eth-db-ref }}
|
||||||
repository: vulcanize/ipld-eth-db
|
repository: vulcanize/ipld-eth-db
|
||||||
path: "./ipld-eth-db/"
|
path: "./ipld-eth-db/"
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
@ -86,14 +95,14 @@ jobs:
|
|||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.inputs.foundry-test-ref }}
|
ref: ${{ env.foundry-test-ref }}
|
||||||
path: "./foundry-test/"
|
path: "./foundry-test/"
|
||||||
repository: vulcanize/foundry-test
|
repository: vulcanize/foundry-test
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.inputs.ipld-eth-db-ref }}
|
ref: ${{ env.ipld-eth-db-ref }}
|
||||||
repository: vulcanize/ipld-eth-db
|
repository: vulcanize/ipld-eth-db
|
||||||
path: "./ipld-eth-db/"
|
path: "./ipld-eth-db/"
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
Loading…
Reference in New Issue
Block a user