Skip to content

Commit 7ad5ee0

Browse files
authored
Fix contracts workflows (#535)
1 parent 253208c commit 7ad5ee0

8 files changed

Lines changed: 13 additions & 12 deletions

.github/workflows/ci.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ jobs:
5656
needs.changes.outputs.contracts == 'true' ||
5757
github.ref == 'refs/heads/main'
5858
59+
contracts-deployment-test:
60+
uses: ./.github/workflows/contracts-deployment-test.yaml
61+
needs: [ contracts-prettier ]
62+
5963
contracts-build-and-test:
6064
uses: ./.github/workflows/contracts-build-and-test.yaml
6165
needs: [contracts-prettier]

.github/workflows/contracts-build-and-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Contract Build and Test Workflow
1+
name: Build and Test Workflow
22

33
# This workflow is triggered from the main CI workflow.
44
on:

.github/workflows/contracts-deployment-test.yml renamed to .github/workflows/contracts-deployment-test.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1-
name: Contracts Deployment Test
1+
name: Deployment Test
22

3+
# This workflow is triggered from the main CI workflow.
34
on:
4-
push:
5-
branches:
6-
- main
7-
- dev
8-
pull_request:
5+
workflow_call:
96

107
jobs:
118
build:

.github/workflows/contracts-npm-audit.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Contracts NPM Audit
1+
name: NPM Audit
22

33
# This workflow is triggered from the main CI workflow.
44
on:

.github/workflows/contracts-prettier.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# .github/workflows/prettier.yml
2-
name: Contracts Prettier
2+
name: Prettier
33

44
# This workflow is triggered from the main CI workflow.
55
on:

.github/workflows/contracts-sast.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Contracts Static analysis
1+
name: Static analysis
22

33
# This workflow is triggered from the main CI workflow.
44
on:

.github/workflows/contracts-storage.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Contracts Storage check
1+
name: Storage check
22

33
# This workflow is triggered from the main CI workflow.
44
on:

.github/workflows/contracts-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Contracts Tests
1+
name: Tests
22

33
# This workflow is triggered from the main CI workflow.
44
on:

0 commit comments

Comments
 (0)