Skip to content

Commit

Permalink
feat : updated workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ocdbytes committed Nov 24, 2024
1 parent aa047d4 commit df89dee
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 4 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/rust-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,21 @@ jobs:
with:
version: nightly

- name: Install asdf & tools
uses: asdf-vm/actions/install@v3
# ---------------------------------------------------
# workaround : https://github.com/asdf-vm/actions/issues/562
# asdf installation
- name: Detect ASDF .tool-versions file in repo
shell: bash
id: detect_tool_versions_file
run: |
if [ -s .tool-versions ]; then
echo "exists=1" >> $GITHUB_OUTPUT
fi
- name: ASDF install tools
if: ${{ steps.detect_tool_versions_file.outputs.exists == '1' }}
uses: asdf-vm/actions/install@6a442392015fbbdd8b48696d41e0051b2698b2e4
# ---------------------------------------------------

- name: Build the project
run: |
Expand Down
17 changes: 15 additions & 2 deletions .github/workflows/test-bridge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,21 @@ jobs:
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1

- name: Install asdf & tools
uses: asdf-vm/actions/install@v3
# ---------------------------------------------------
# workaround : https://github.com/asdf-vm/actions/issues/562
# asdf installation
- name: Detect ASDF .tool-versions file in repo
shell: bash
id: detect_tool_versions_file
run: |
if [ -s .tool-versions ]; then
echo "exists=1" >> $GITHUB_OUTPUT
fi
- name: ASDF install tools
if: ${{ steps.detect_tool_versions_file.outputs.exists == '1' }}
uses: asdf-vm/actions/install@6a442392015fbbdd8b48696d41e0051b2698b2e4
# ---------------------------------------------------

- name: Setup build deps
run: |
Expand Down

0 comments on commit df89dee

Please sign in to comment.