Skip to content

Commit

Permalink
chore(spec): use gha cache type and buildx for ci
Browse files Browse the repository at this point in the history
  • Loading branch information
0xfourzerofour committed Oct 5, 2023
1 parent fd23acf commit 8b92bb9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/compliance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,6 @@ jobs:
uses: actions/checkout@v3
with:
submodules: recursive
- name: Cache Docker layers
uses: actions/cache@v2
with:
path: |
~/.docker
key: ${{ runner.os }}-docker-${{ hashFiles('**/Dockerfile') }}
restore-keys: |
${{ runner.os }}-docker-
- name: Install protobuf
run: sudo apt-get -y install protobuf-compiler
- name: Install toolchain
Expand Down
2 changes: 1 addition & 1 deletion test/spec-tests/ci/run-spec-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ cd "$(dirname "$0")"

(cd ../bundler-spec-tests && pdm install && pdm run update-deps)

docker build ../../.. -t alchemy-platform/rundler:latest
docker buildx build -t alchemy-platform/rundler:latest --cache-to=gha --cache-from=gha ../../..

(cd ../bundler-spec-tests && pdm run test --url http://127.0.0.1:3000 --launcher-script=../launchers/rundler-launcher/rundler-launcher.sh $@)

Expand Down

0 comments on commit 8b92bb9

Please sign in to comment.