Skip to content

Commit

Permalink
Update github actions and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Miles Parfitt committed Mar 8, 2024
1 parent 85c6b81 commit 7eede85
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: asdf_plugin_test
uses: asdf-vm/actions/plugin-test@v2
uses: asdf-vm/actions/plugin-test@v3
with:
command: limactl --version
5 changes: 2 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: actions/checkout@v3

- name: Install asdf dependencies
uses: asdf-vm/actions/install@v2
uses: asdf-vm/actions/install@v3

- name: Run ShellCheck
run: scripts/shellcheck.bash
Expand All @@ -26,11 +26,10 @@ jobs:
uses: actions/checkout@v3

- name: Install asdf dependencies
uses: asdf-vm/actions/install@v2
uses: asdf-vm/actions/install@v3

- name: List file to shfmt
run: shfmt -f .

- name: Run shfmt
run: scripts/shfmt.bash

2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: GoogleCloudPlatform/release-please-action@v3
- uses: GoogleCloudPlatform/release-please-action@v4
with:
release-type: simple
30 changes: 25 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

# asdf-lima [![Build](https://github.com/CrouchingMuppet/asdf-lima/actions/workflows/build.yml/badge.svg)](https://github.com/CrouchingMuppet/asdf-lima/actions/workflows/build.yml) [![Lint](https://github.com/CrouchingMuppet/asdf-lima/actions/workflows/lint.yml/badge.svg)](https://github.com/CrouchingMuppet/asdf-lima/actions/workflows/lint.yml)


[Lima](https://github.com/lima-vm/lima) plugin for the [asdf version manager](https://asdf-vm.com).
[Lima](https://github.com/lima-vm/lima) plugin for [mise-en-place](https://github.com/jdx/mise) and the [asdf version manager](https://asdf-vm.com).

</div>

Expand All @@ -16,20 +15,41 @@

# Dependencies

- `qemu-img`: [QEMU disk image utility](https://manpages.ubuntu.com/manpages/focal/man1/qemu-img.1.html)
- `qemu-img`: [QEMU disk image utility](https://manpages.ubuntu.com/manpages/focal/man1/qemu-img.1.html) `brew install qemu` on macOS.
- `bash`, `curl`: generic POSIX utilities.

# Install

Plugin:
mise plugin:

Mise automatically installs plugins. If you want to use mise to install the `lima` dependency use:

asdf plugin:

```shell
asdf plugin add lima
# or
asdf plugin add lima https://github.com/CrouchingMuppet/asdf-lima.git
```

Lima:
Lima via mise:

```shell
# Show all installable versions
mise list-all lima

# Set a version globally (on your ~/.tool-versions file)
mise global lima latest

# Now limactl and lima commands are available
limactl start
lima uname -a
```

Check [mise-en-place](https://mise.jdx.dev/) documentation for more instructions on how to
install & manage versions.

Lima via asdf:

```shell
# Show all installable versions
Expand Down

0 comments on commit 7eede85

Please sign in to comment.