Skip to content

Commit

Permalink
fix: setup action
Browse files Browse the repository at this point in the history
  • Loading branch information
guidanoli committed Dec 13, 2024
1 parent 6dbb678 commit 9b4fd9d
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
name: Install dependencies

on:
workflow_call:
inputs:
foundry-version:
description: 'Foundry version'
required: true
type: string
name: 'Install dependencies'
description: 'Installs pnpm, node, Node packages, and foundry'
inputs:
foundry-version:
description: 'Foundry version'
type: string
default: 'nightly'

runs:
using: 'composite'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-code-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: ./.github/workflows/setup
- uses: ./.github/actions/setup
with:
foundry-version: nightly

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
with:
submodules: recursive

- uses: ./.github/workflows/setup
- uses: ./.github/actions/setup
with:
foundry-version: nightly

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
git config user.name rollups-contracts-bot
git config user.email [email protected]
- uses: ./.github/workflows/setup
- uses: ./.github/actions/setup
with:
foundry-version: nightly

Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
with:
submodules: recursive

- uses: ./.github/workflows/setup
- uses: ./.github/actions/setup
with:
foundry-version: nightly

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
submodules: recursive

- uses: ./.github/workflows/setup
- uses: ./.github/actions/setup
with:
foundry-version: nightly

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
submodules: recursive

- uses: ./.github/workflows/setup
- uses: ./.github/actions/setup
with:
foundry-version: ${{ env.FOUNDRY_VERSION }}

Expand Down

0 comments on commit 9b4fd9d

Please sign in to comment.