Skip to content

Commit

Permalink
ci: cache docker images (#186)
Browse files Browse the repository at this point in the history
Closes: #29
  • Loading branch information
MegaRedHand authored Jan 22, 2025
1 parent 6673f4c commit e790bbc
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ jobs:
with:
version: ${{ env.KURTOSIS_VERSION }}

- name: Cache Docker images
uses: ScribeMD/[email protected]
with:
key: docker-${{ runner.os }}-${{ hashFiles('Makefile', 'examples', 'src/config/default_config.yaml') }}

- name: Run Package with default args
run: |
kurtosis run ./kurtosis_package
Expand All @@ -50,6 +55,11 @@ jobs:
with:
version: ${{ env.KURTOSIS_VERSION }}

- name: Cache Docker images
uses: ScribeMD/[email protected]
with:
key: docker-${{ runner.os }}-${{ hashFiles('Makefile', 'examples', 'src/config/default_config.yaml') }}

- name: Run example '${{ matrix.example }}'
run: make ${{ matrix.example }}

Expand All @@ -66,6 +76,11 @@ jobs:
with:
version: ${{ env.KURTOSIS_VERSION }}

- name: Cache Docker images
uses: ScribeMD/[email protected]
with:
key: docker-${{ runner.os }}-${{ env.KURTOSIS_VERSION }}

- name: Kurtosis Lint
run: make kurtosis_lint

Expand Down Expand Up @@ -120,6 +135,11 @@ jobs:
with:
go-version: ${{ env.GO_VERSION }}

- name: Cache Docker images
uses: ScribeMD/[email protected]
with:
key: docker-${{ runner.os }}-${{ hashFiles('Makefile', 'examples', 'src/config/default_config.yaml') }}

- name: Run go test
run: make test

Expand All @@ -144,14 +164,19 @@ jobs:

- name: Install devnet
run: make install


- name: Cache Docker images
uses: ScribeMD/[email protected]
with:
key: docker-${{ runner.os }}-a294978-${{ hashFiles('examples/eigenda.yaml') }}

- name: Checkout EigenDA repo
uses: actions/checkout@v4
with:
repository: Layr-Labs/eigenda
path: eigenda/
ref: a294978e346fe9d7ede0f1a57012c36f64f1212a

- name: Download SRS points
run: |
cd eigenda/
Expand Down

0 comments on commit e790bbc

Please sign in to comment.