Skip to content

Commit

Permalink
Using local workflows reference syntax (#855)
Browse files Browse the repository at this point in the history
  • Loading branch information
epikichi authored Nov 1, 2022
1 parent 417a4be commit 6492acc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ on: # yamllint disable-line rule:truthy
jobs:
build:
name: Build
uses: 0xpolygon/polygon-edge/.github/workflows/build.yml@develop
uses: ./.github/workflows/build.yml

test:
name: Test
uses: 0xpolygon/polygon-edge/.github/workflows/test.yml@develop
uses: ./.github/workflows/test.yml
needs: build

snyk:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy.devnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@ permissions:
jobs:
snyk:
name: Snyk and Publish
uses: 0xpolygon/polygon-edge/.github/workflows/security.yml@develop
uses: ./.github/workflows/security.yml
secrets:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
SNYK_ORG: ${{ secrets.SNYK_ORG }}

build:
name: Build
uses: 0xpolygon/polygon-edge/.github/workflows/build.yml@develop
uses: ./.github/workflows/build.yml

test:
name: Test
uses: 0xpolygon/polygon-edge/.github/workflows/test.yml@develop
uses: ./.github/workflows/test.yml
needs: build

deploy_devnet:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/deploy.testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ permissions:
jobs:
snyk:
name: Snyk and Publish
uses: 0xpolygon/polygon-edge/.github/workflows/security.yml@develop
uses: ./.github/workflows/security.yml
secrets:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
SNYK_ORG: ${{ secrets.SNYK_ORG }}

build:
uses: 0xpolygon/polygon-edge/.github/workflows/build.yml@develop
uses: ./.github/workflows/build.yml
name: Build

test:
uses: 0xpolygon/polygon-edge/.github/workflows/test.yml@develop
uses: ./.github/workflows/test.yml
name: Test
needs: build

Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
}
pandoras_box:
uses: 0xpolygon/polygon-edge/.github/workflows/pandoras_box.yml@develop
uses: ./.github/workflows/pandoras_box.yml
name: Pandora's Box
needs: deploy_testnet
secrets:
Expand All @@ -171,7 +171,7 @@ jobs:
transaction_count: '10000'

loadbot:
uses: 0xpolygon/polygon-edge/.github/workflows/loadbot.yml@develop
uses: ./.github/workflows/loadbot.yml
name: Loadbot
needs: deploy_testnet
secrets:
Expand Down

0 comments on commit 6492acc

Please sign in to comment.