Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Commit

Permalink
fix: default working dirs for contract workflows
Browse files Browse the repository at this point in the history
Signed-off-by: Jawad Tariq <[email protected]>
  • Loading branch information
JDawg287 committed Mar 12, 2024
1 parent 3d7046f commit 40805a7
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/contract-analyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ jobs:
- uses: crytic/[email protected]
with:
node-version: 16
target: ./contracts
3 changes: 3 additions & 0 deletions .github/workflows/contract-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
build:
name: Build
runs-on: ubuntu-latest-16-core
defaults:
run:
working-directory: ./contracts/

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/contract-docker-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ concurrency:

jobs:
docker:
uses: ./.github/workflows/docker_utils.yml
uses: ./.github/workflows/contract-docker-utils.yml
e2e:
needs: docker
if: ${{ github.event_name == 'pull_request' }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/contract-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
format:
name: Format
runs-on: ubuntu-latest-16-core
defaults:
run:
working-directory: ./contracts/

steps:
- uses: actions/checkout@v3
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/contract-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
lint:
name: Lint
runs-on: ubuntu-latest-16-core
defaults:
run:
working-directory: ./contracts/

steps:
- uses: actions/checkout@v3
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/contract-npm-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
jobs:
npm-package:
runs-on: ubuntu-latest-16-core
defaults:
run:
working-directory: ./contracts
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/contract-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
test:
name: Test
runs-on: ubuntu-latest-16-core
defaults:
run:
working-directory: ./contracts

steps:
- uses: actions/checkout@v3
Expand Down
Binary file added act
Binary file not shown.

0 comments on commit 40805a7

Please sign in to comment.