Moving working-directory config from step to job level
@@ -22,6 +22,9 @@ on:
jobs:
build-and-test:
runs-on: ubuntu-latest
+ defaults:
+ run:
+ working-directory: ./solidity
steps:
- uses: actions/checkout@v2
@@ -42,15 +45,12 @@ jobs:
${{ runner.os }}-
- name: Install dependencies
- working-directory: ./solidity
run: npm ci
- name: Compile contracts
- working-directory: ./solidity
run: npx truffle compile
- name: Run tests
- working-directory: ./solidity
run: npm run test:quick
lint:
