diff --git a/.github/workflows/onpush-checks.yml b/.github/workflows/onpush-checks.yml index 020e5cea0..87b65e51b 100644 --- a/.github/workflows/onpush-checks.yml +++ b/.github/workflows/onpush-checks.yml @@ -15,16 +15,16 @@ jobs: - uses: actions/setup-node@v1 with: node-version: 10 - # - id: get_hashes - # run: | - # package_hash=`shasum zeth_contracts/package.json | head -c 8` - # echo "::set-output name=package_hash::${package_hash}" - - name: Cache Contracts + - name: Cache npm uses: actions/cache@v1 with: path: ~/.npm - key: check-client-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }} - # key: check-client-ubuntu-20.04-node-modules-${{steps.get_hashes.outputs.package_hash}} + key: check-client-npm-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }} + - name: Cache pip + uses: actions/cache@v2 + with: + path: ~/.cache/pip + key: check-client-pip-${{ runner.os }}-${{ hashFiles('client/setup.py') }} - name: Check Contracts run: scripts/ci check_contracts