Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge asdf and mise CI files to make better naming scope #166

Merged
merged 1 commit into from
Feb 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 49 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
workflow_dispatch:

jobs:
plugin-test:
asdf:
timeout-minutes: 10
strategy:
fail-fast: false
Expand Down Expand Up @@ -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 }}
64 changes: 0 additions & 64 deletions .github/workflows/mise.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 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) [![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)
[![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)

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