Skip to content

chore(spec): add working directory for yarn caching #47

chore(spec): add working directory for yarn caching

chore(spec): add working directory for yarn caching #47

Workflow file for this run

on:
push:
# branches:
# - main
pull_request:
name: compliance
jobs:
compliance:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install protobuf
run: sudo apt-get -y install protobuf-compiler
- name: Cache Docker layers
uses: actions/cache@v2
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'
cache-dependency-path: test/spec-tests/bundler-spec-tests/@account-abstraction
- name: Install toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: clippy
toolchain: 1.71.0
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Setup PDM
uses: pdm-project/setup-pdm@v3
with:
cache: true
- name: Run spec tests
run: ./test/spec-tests/ci/run-spec-tests.sh
- name: Move cache
run: |
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache