Skip to content

Commit

Permalink
chore: Update github action flows
Browse files Browse the repository at this point in the history
  • Loading branch information
akashiceth committed Jun 10, 2022
1 parent d3c8c8e commit 5461816
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 51,462 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,15 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: recursive
persist-credentials: false
- name: Reconfigure git to use HTTP authentication
run: >
git config --global url."https://github.com/".insteadOf
ssh://[email protected]/
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 16.x
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
Expand All @@ -29,6 +33,8 @@ jobs:
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Compile code (Hardhat)
run: yarn compile:force
- name: Run format checks
run: yarn format:check
- name: Run lint
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,15 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: recursive
persist-credentials: false
- name: Reconfigure git to use HTTP authentication
run: >
git config --global url."https://github.com/".insteadOf
ssh://[email protected]/
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 16.x
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
Expand All @@ -29,10 +33,6 @@ jobs:
${{ runner.os }}-yarn-
- name: Install dev dependencies
run: yarn install --frozen-lockfile
- name: Install Foundry
uses: onbjerg/foundry-toolchain@v1
with:
version: nightly
- name: Compile code (Hardhat)
run: yarn compile:force
- name: Run TypeScript/Waffle tests
Expand Down
Loading

0 comments on commit 5461816

Please sign in to comment.