Skip to content

Commit 9559a55

Browse files
committed
add arch to cache key
1 parent d210856 commit 9559a55

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/actions/build/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ runs:
4545
path: |
4646
src/bindings/compiled
4747
src/bindings/mina-transaction/gen
48-
key: bindings-${{ github.event.pull_request.head.sha || github.sha }}-${{ inputs.proof_systems_commit }}
48+
key: bindings-${{ runner.OS }}-${{ runner.arch}}-${{ github.event.pull_request.head.sha || github.sha }}-${{ inputs.proof_systems_commit }}
4949
- name: Build the o1js bindings
5050
if: ${{ steps.bindings-cache.outputs.cache-hit != 'true' }}
5151
shell: bash
@@ -61,7 +61,7 @@ runs:
6161
~/.npm
6262
node_modules
6363
dist
64-
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('**/*.ts', '**/*.js') }}
64+
key: ${{ runner.OS }}-${{ runner.arch }}-node-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('**/*.ts', '**/*.js') }}
6565
- name: Build examples
6666
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
6767
shell: bash

.github/workflows/checks.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,8 @@ jobs:
330330
strategy:
331331
fail-fast: false
332332
matrix:
333-
runner: [sdk-team-github-runner-arm-01-benchmarks,sdk-team-github-runner-x86-01-benchmarks,sdk-team-github-runner-x86-02-build,sdk-team-github-runner-x86-03-build,sdk-team-github-runner-x86-04-build]
333+
# These need docker too maybe it's worth getting it set up then
334+
runner: ubuntu-latest
334335

335336
runs-on: ${{ matrix.runner }}
336337
services:
@@ -370,7 +371,7 @@ jobs:
370371
strategy:
371372
fail-fast: false
372373
matrix:
373-
runner: [sdk-team-github-runner-arm-01-benchmarks,sdk-team-github-runner-x86-01-benchmarks,sdk-team-github-runner-x86-02-build,sdk-team-github-runner-x86-03-build,sdk-team-github-runner-x86-04-build]
374+
runner: ubuntu-latest
374375

375376
runs-on: ${{ matrix.runner }}
376377
services:

0 commit comments

Comments
 (0)