generated from asdf-vm/asdf-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge asdf and mise CI files to make better naming scope (#166)
- Loading branch information
Showing
3 changed files
with
50 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ on: | |
workflow_dispatch: | ||
|
||
jobs: | ||
plugin-test: | ||
asdf: | ||
timeout-minutes: 10 | ||
strategy: | ||
fail-fast: false | ||
|
@@ -52,3 +52,51 @@ jobs: | |
with: | ||
version: ${{ matrix.target.tool-version }} | ||
command: ${{ matrix.target.command }} | ||
|
||
mise: | ||
timeout-minutes: 10 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: | ||
- ubuntu-latest | ||
- macos-13 # Intel | ||
target: | ||
- command: | | ||
mise install cargo-make@latest | ||
mise x cargo-make@latest -- makers --version | ||
mise x cargo-make@latest -- cargo-make make --version | ||
# Supported oldest | ||
- command: | | ||
mise install [email protected] | ||
# makers does not exist | ||
mise x [email protected] -- cargo-make make --version | ||
include: | ||
# They are releasing aarch64 binary since 0.36.7: https://github.com/sagiegurari/cargo-make/commit/ab3cac2261c0ba67ab6d7a277aff8252faec0b1c | ||
- os: macos-14 # M1 | ||
target: | ||
command: | | ||
mise install cargo-make@latest | ||
mise x cargo-make@latest -- makers --version | ||
mise x cargo-make@latest -- cargo-make make --version | ||
- os: macos-14 # M1 | ||
target: | ||
command: | | ||
mise install [email protected] | ||
mise x cargo-make@latest -- makers --version | ||
mise x cargo-make@latest -- cargo-make make --version | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- 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: | | ||
mise plugins install cargo-make https://github.com/kachick/asdf-cargo-make.git#${{ github.ref }} | ||
- name: Test | ||
run: | | ||
${{ matrix.target.command }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters