From d0a663dfaf260da90e2df319f6cbd4eb1da872db Mon Sep 17 00:00:00 2001 From: jdx <216188+jdx@users.noreply.github.com> Date: Fri, 15 Nov 2024 20:30:40 -0600 Subject: [PATCH] fix: add os opts to shellcheck --- .github/workflows/release.yml | 4 ++-- .github/workflows/test.yml | 1 - registry.toml | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 450b2cd024..756a65a5f5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -197,9 +197,9 @@ jobs: unzip -d $env:USERPROFILE dist\mise-v$version-windows-x64.zip Add-Content $env:GITHUB_PATH "$env:USERPROFILE/mise/bin" - run: mise install - continue-on-error: ${{matrix.os == 'windows-latest' && true || false}} + continue-on-error: ${{matrix.os == 'windows-latest' && false || true}} - run: mise test-tool --all - continue-on-error: ${{matrix.os == 'windows-latest' && true || false}} + continue-on-error: ${{matrix.os == 'windows-latest' && false || true}} rpm: runs-on: ubuntu-latest needs: [build-tarball] diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4b3ebcbfa4..4d69c456f7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -174,7 +174,6 @@ jobs: - run: cargo test continue-on-error: true - run: mise install - continue-on-error: true - run: mise test-tool --all continue-on-error: true windows-e2e: diff --git a/registry.toml b/registry.toml index 22837ea8e3..55314bad25 100644 --- a/registry.toml +++ b/registry.toml @@ -658,6 +658,7 @@ serverless.backends = ["asdf:pdemagny/asdf-serverless"] setup-envtest.backends = ["asdf:pmalek/mise-setup-envtest"] shell2http.backends = ["aqua:msoap/shell2http", "asdf:ORCID/asdf-shell2http"] shellcheck.backends = ["ubi:koalaman/shellcheck", "asdf:luizm/asdf-shellcheck"] +shellcheck.os = ["linux", "macos"] shellspec.backends = ["aqua:shellspec/shellspec", "asdf:poikilotherm/asdf-shellspec"] shfmt.backends = ["asdf:luizm/asdf-shfmt"] shfmt.os = ["linux", "macos"]