Skip to content

Commit

Permalink
Add two more recent versions of Hardhat to test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
CedarMist committed Jun 29, 2023
1 parent 1ca10ed commit 627b9db
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ jobs:
matrix:
example: [hardhat, hardhat-boilerplate, truffle]
truffle_version: [none, 5.8.2, 5.10.1]
hardhat_version: [none, 2.12.7, 2.16.1]
exclude:
- example: hardhat
truffle_version: 5.8.2
Expand All @@ -211,7 +212,9 @@ jobs:
- example: hardhat-boilerplate
truffle_version: 5.10.1
- example: truffle
truffle_version: none
hardhat_version: 2.12.7
- example: truffle
hardhat_version: 2.16.1
defaults:
run:
working-directory: examples/${{ matrix.example }}
Expand Down Expand Up @@ -261,6 +264,11 @@ jobs:
run: |
pnpm install
- name: Update Hardhat version
if: ${{ matrix.example != 'truffle' && matrix.hardhat_version != 'none' }}
run: |
pnpm up hardhat@${{matrix.hardhat_version}}
- name: Update Truffle version
if: ${{ matrix.example == 'truffle' && matrix.truffle_version != 'none' }}
run: |
Expand Down

0 comments on commit 627b9db

Please sign in to comment.