Skip to content

Commit

Permalink
[WORKFLOWS] make sure linting happens in more places (#1824)
Browse files Browse the repository at this point in the history
* [WORKFLOWS] make sure linting happens in more places

* [WORKFLOWS] fix the shell script

* fix typo: SuperfluidGDAv1DeployerLibrary
  • Loading branch information
hellwolf authored Feb 6, 2024
1 parent db300cb commit 29fbc58
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/call.test-hot-fuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ jobs:
echidna --version
- name: Run Yarn Install
run: yarn install
run: |
yarn install
- name: Run tests
run: |
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/call.test-local-subgraph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,11 @@ jobs:
npx tsc --version
- name: "Build contracts"
run: yarn build
run: |
yarn lint
yarn build
working-directory: ./packages/ethereum-contracts

- name: "Build"
run: npx ts-node scripts/buildNetworkConfig.ts polygon-mainnet
working-directory: ${{ env.subgraph-working-directory }}
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/call.test-sdk-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ jobs:
run: yarn install --frozen-lockfile

- name: "Build contracts"
run: yarn build
run: |
yarn lint
yarn build
working-directory: ${{ env.ethereum-contracts-working-directory }}

- name: "Start hardhat node"
Expand All @@ -49,7 +51,9 @@ jobs:

- name: "Build SDK-Core"
# build sdk-core because of auto linking to dependency
run: yarn build
run: |
yarn lint
yarn build
working-directory: ${{ env.sdk-core-working-directory }}

- name: "Deploy Framework and Tokens"
Expand Down
4 changes: 2 additions & 2 deletions packages/subgraph/tasks/getSFMeta.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/usr/bin/env bash
# This files is a bash script that is used to generate the src/meta.ignore.ts file.
# This is used to fill out the SFMeta entity (see schema.graphql)
# The different fields: `${SOME_FIELD}` must be set in the enivronment when running this script.
#!/usr/bin/env bash

D="$(readlink -f "$(dirname "$0")")"

BRANCH="$(git branch --show-current)"
PACKAGE_VERSION="$(jq -r ".version" $D/../package.json)"
PACKAGE_VERSION="$(jq -r ".version" "$D"/../package.json)"

cat > "$D"/../src/meta.ignore.ts << EOF
export let commitHash = "${COMMIT_HASH}";
Expand Down

0 comments on commit 29fbc58

Please sign in to comment.