Skip to content

Commit 142a2a4

Browse files
committed
refactor: adopt kebab-case for action inputs
1 parent 101b0f5 commit 142a2a4

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/actions/setup-tools/action.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ inputs:
55
description: 'Architecture to build for (if Rust is setup)'
66
required: false
77
default: 'x86_64-unknown-linux-gnu'
8-
rust_version:
8+
rust-version:
99
description: 'Rust version to install (if Rust is setup)'
1010
required: false
1111
default: '1.86'
12-
foundry_version:
12+
foundry-version:
1313
description: 'Foundry version to install'
1414
required: false
1515
default: 'v1.4.3'
@@ -22,9 +22,9 @@ inputs:
2222
required: false
2323
default: 'true'
2424
outputs:
25-
foundry-version:
25+
installed-foundry-version:
2626
description: 'The version of Foundry that was installed'
27-
value: ${{ steps.set-foundry-version.outputs.foundry-version }}
27+
value: ${{ steps.set-foundry-version.outputs.version }}
2828
runs:
2929
using: composite
3030
steps:
@@ -38,20 +38,20 @@ runs:
3838
with:
3939
components: rustfmt
4040
target: ${{ inputs.target }}
41-
toolchain: ${{ inputs.rust_version }}
41+
toolchain: ${{ inputs.rust-version }}
4242
cache-on-failure: false
4343
cache-bin: false
4444

4545
- name: Set Foundry version
4646
id: set-foundry-version
4747
shell: bash
4848
run: |
49-
echo "foundry-version=${{ inputs.foundry_version }}" >> $GITHUB_OUTPUT
49+
echo "version=${{ inputs.foundry-version }}" >> $GITHUB_OUTPUT
5050
5151
- name: Install Foundry
5252
uses: foundry-rs/foundry-toolchain@v1
5353
with:
54-
version: ${{ steps.set-foundry-version.outputs.foundry-version }}
54+
version: ${{ steps.set-foundry-version.outputs.version }}
5555

5656
- name: Install just
5757
uses: extractions/setup-just@v3

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ jobs:
301301
- name: Compress devnet artifacts
302302
run: tar -czf "$FILEPATH" -C cartesi-rollups/contracts deployments state.json
303303
env:
304-
FILEPATH: upload/cartesi-rollups-prt-anvil-${{ steps.setup.outputs.foundry-version }}.tar.gz
304+
FILEPATH: upload/cartesi-rollups-prt-anvil-${{ steps.setup.outputs.installed-foundry-version }}.tar.gz
305305

306306
- name: Upload files to GitHub Releases
307307
uses: softprops/action-gh-release@v2

0 commit comments

Comments
 (0)