Skip to content

Commit

Permalink
fix(ci): remove debug, smaller checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxMustermann2 committed Nov 27, 2024
1 parent 1727af9 commit 52179ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/compare-layouts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,6 @@ jobs:
with:
name: storage-layouts-${{ github.event.workflow_run.head_commit.id }}
run_id: ${{ github.event.workflow_run.id }}
- name: Debug the restored layouts
if: ${{ github.event.workflow_run.conclusion == 'success' }}
run: ls -l
- name: Extract the restored layouts
if: ${{ github.event.workflow_run.conclusion == 'success' }}
run: unzip storage-layouts.zip
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/forge-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ jobs:
run: echo "${{ needs.build.outputs.installation-dir }}" >> $GITHUB_PATH
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Restore build artifacts
uses: actions/cache/restore@v3
with:
Expand Down Expand Up @@ -96,8 +94,6 @@ jobs:
run: echo "${{ needs.build.outputs.installation-dir }}" >> $GITHUB_PATH
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Restore build artifacts
uses: actions/cache/restore@v3
with:
Expand Down Expand Up @@ -125,6 +121,9 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.base.ref || github.event.before }}
# We don't have a `lib` folder to restore for this step, so we
# recursively checkout the submodules. In other steps, we use the
# `lib` folder from the `build` job.
submodules: recursive
- name: Generate base branch layout file
# Note that this `run` will do a `forge build` so we don't need to do it ourselves.
Expand All @@ -139,7 +138,6 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
submodules: recursive
# Restoring these will help make `forge inspect` faster.
- name: Restore build artifacts
uses: actions/cache/restore@v3
Expand Down

0 comments on commit 52179ad

Please sign in to comment.