Skip to content

Commit

Permalink
Merge pull request #157 from kachick/mise
Browse files Browse the repository at this point in the history
Migrate rtx with mise
  • Loading branch information
kachick authored Feb 5, 2024
2 parents 13136cd + 82cdbeb commit 042780a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/rtx.yml → .github/workflows/mise.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: rtx
name: mise
on:
push:
branches:
Expand All @@ -25,26 +25,26 @@ jobs:
- macos-latest
target:
- command: |
rtx install cargo-make@latest
rtx x cargo-make@latest -- makers --version
rtx x cargo-make@latest -- cargo-make make --version
mise install cargo-make@latest
mise x cargo-make@latest -- makers --version
mise x cargo-make@latest -- cargo-make make --version
# Supported oldest
- command: |
rtx install cargo-make@0.16.0
mise install cargo-make@0.16.0
# makers does not exist
rtx x cargo-make@0.16.0 -- cargo-make make --version
mise x cargo-make@0.16.0 -- cargo-make make --version
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: jdxcode/rtx-action@v1.3.2
- uses: jdx/mise-action@v2
with:
tool_versions: |
# - This comment should have different value for each run to avoid the cache. See #75 and #77
# - avoid-cache-key: ${{ github.ref }}-${{ github.run_id }}-${{ github.run_attempt }}
# - Don't set cargo-make versions here. Keep no tools for clean room test
- name: Install plugin
run: |
rtx plugins install cargo-make https://github.com/kachick/asdf-cargo-make.git#${{ github.ref }}
mise plugins install cargo-make https://github.com/kachick/asdf-cargo-make.git#${{ github.ref }}
- name: Test
run: |
${{ matrix.target.command }}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# asdf-cargo-make

[![Build](https://github.com/kachick/asdf-cargo-make/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/kachick/asdf-cargo-make/actions/workflows/build.yml?query=branch%3Amain) [![Lint](https://github.com/kachick/asdf-cargo-make/actions/workflows/lint.yml/badge.svg?branch=main)](https://github.com/kachick/asdf-cargo-make/actions/workflows/lint.yml?query=branch%3Amain) [![rtx](https://github.com/kachick/asdf-cargo-make/actions/workflows/rtx.yml/badge.svg?branch=main)](https://github.com/kachick/asdf-cargo-make/actions/workflows/rtx.yml?query=branch%3Amain)
[![Build](https://github.com/kachick/asdf-cargo-make/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/kachick/asdf-cargo-make/actions/workflows/build.yml?query=branch%3Amain) [![Lint](https://github.com/kachick/asdf-cargo-make/actions/workflows/lint.yml/badge.svg?branch=main)](https://github.com/kachick/asdf-cargo-make/actions/workflows/lint.yml?query=branch%3Amain) [![mise](https://github.com/kachick/asdf-cargo-make/actions/workflows/mise.yml/badge.svg?branch=main)](https://github.com/kachick/asdf-cargo-make/actions/workflows/mise.yml?query=branch%3Amain)

[cargo-make](https://sagiegurari.github.io/cargo-make/) plugin for the [asdf version manager](https://asdf-vm.com).\
Tested also [rtx](https://github.com/jdxcode/rtx).
Tested also [mise](https://github.com/jdx/mise).

# Dependencies

Expand Down

0 comments on commit 042780a

Please sign in to comment.