From 7ece47338147dfa3817e1f45e5087523225013a6 Mon Sep 17 00:00:00 2001 From: jdx <216188+jdx@users.noreply.github.com> Date: Sat, 16 Nov 2024 07:22:43 -0600 Subject: [PATCH] fix: disable 1password on non-windows Fixes https://github.com/jdx/mise/issues/3050 --- .github/workflows/release.yml | 1 + .github/workflows/test.yml | 2 ++ docs/registry.md | 2 +- registry.toml | 3 ++- 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0f24c9c690..59b720d008 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -199,6 +199,7 @@ jobs: - run: mise install continue-on-error: ${{matrix.os == 'windows-latest' }} - run: mise test-tool --all + env: { MISE_USE_VERSIONS_HOST: 0, MISE_EXPERIMENTAL: 1 } continue-on-error: ${{matrix.os == 'windows-latest' }} rpm: runs-on: ubuntu-latest diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 08c5292511..dbb550f848 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -56,6 +56,7 @@ jobs: - run: ./scripts/test-standalone.sh - run: mise run lint - run: mise test-tool --all + env: { MISE_USE_VERSIONS_HOST: 0, MISE_EXPERIMENTAL: 1 } nightly: runs-on: ubuntu-latest @@ -174,6 +175,7 @@ jobs: continue-on-error: true - run: mise install - run: mise test-tool --all + env: { MISE_USE_VERSIONS_HOST: 0, MISE_EXPERIMENTAL: 1 } continue-on-error: true windows-e2e: runs-on: windows-latest diff --git a/docs/registry.md b/docs/registry.md index c15e587ea3..31b384c24f 100644 --- a/docs/registry.md +++ b/docs/registry.md @@ -6,7 +6,7 @@ editLink: false | Short | Full | | ----------- | --------------- | -| 1password-cli | [aqua:1password/cli](https://github.com/1password/cli) [asdf:NeoHsu/asdf-1password-cli](https://github.com/NeoHsu/asdf-1password-cli) | +| 1password-cli | [asdf:NeoHsu/asdf-1password-cli](https://github.com/NeoHsu/asdf-1password-cli) [aqua:1password/cli](https://github.com/1password/cli) | | aapt2 | [asdf:ronnnnn/asdf-aapt2](https://github.com/ronnnnn/asdf-aapt2) | | act | [aqua:nektos/act](https://github.com/nektos/act) [ubi:nektos/act](https://github.com/nektos/act) [asdf:gr1m0h/asdf-act](https://github.com/gr1m0h/asdf-act) | | action-validator | [aqua:mpalmer/action-validator](https://github.com/mpalmer/action-validator) [ubi:mpalmer/action-validator](https://github.com/mpalmer/action-validator) [asdf:mpalmer/action-validator](https://github.com/mpalmer/action-validator) | diff --git a/registry.toml b/registry.toml index 1915f3ef0f..12193e4aee 100644 --- a/registry.toml +++ b/registry.toml @@ -5,7 +5,8 @@ # or a backend may be disabled via MISE_DISABLE_BACKENDS=ubi [tools] -1password-cli.backends = ["aqua:1password/cli", "asdf:NeoHsu/asdf-1password-cli"] +# ls-remote not available for aqua +1password-cli.backends = ["asdf:NeoHsu/asdf-1password-cli", "aqua:1password/cli"] 1password-cli.test = ["op --version", "{{version}}"] aapt2.backends = ["asdf:ronnnnn/asdf-aapt2"] aapt2.test = ["aapt2 version", "Android Asset Packaging Tool (aapt)"]