build(deps-dev): bump @vscode/test-cli in /mdsf-vscode (#1342) #1882
This file contains hidden or 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
| name: test | |
| on: | |
| - push | |
| - workflow_dispatch | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| env: | |
| CARGO_TERM_COLOR: always | |
| RUST_BACKTRACE: full | |
| jobs: | |
| tools: | |
| name: tools | |
| strategy: | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| runs-on: ${{ matrix.os }} | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: Swatinem/rust-cache@v2 | |
| - uses: erlef/setup-beam@v1 | |
| with: | |
| elixir-version: 1.16.1 | |
| gleam-version: 1.0.0 | |
| otp-version: "26" | |
| - uses: actions/setup-python@v6 | |
| with: | |
| cache: pip | |
| - uses: actions/setup-node@v5 | |
| with: | |
| node-version: "22" | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| run_install: false | |
| version: latest | |
| - run: | | |
| echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV | |
| - uses: actions/cache@v4 | |
| with: | |
| key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} | |
| path: ${{ env.STORE_PATH }} | |
| restore-keys: | | |
| ${{ runner.os }}-pnpm-store- | |
| - uses: jiro4989/setup-nim-action@v2 | |
| - uses: mlugg/setup-zig@v2 | |
| - uses: uncenter/setup-taplo@v1 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version: stable | |
| - uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: "3.3" | |
| - uses: dart-lang/setup-dart@v1 | |
| - uses: crystal-lang/install-crystal@v1 | |
| - uses: hasnep/[email protected] | |
| - uses: denoland/setup-deno@v2 | |
| with: | |
| deno-version: v1.x | |
| - uses: taiki-e/install-action@just | |
| - uses: ocaml/setup-ocaml@v3 | |
| with: | |
| dune-cache: true | |
| ocaml-compiler: "5.1" | |
| - uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: "21" | |
| - uses: haskell-actions/setup@v2 | |
| - uses: julia-actions/cache@v2 | |
| - uses: cargo-bins/cargo-binstall@main | |
| - uses: Homebrew/actions/setup-homebrew@master | |
| - uses: leafo/gh-actions-lua@v12 | |
| - uses: leafo/gh-actions-luarocks@v6 | |
| continue-on-error: true | |
| - uses: dlang-community/setup-dlang@v2 | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - uses: astral-sh/setup-uv@v7 | |
| with: | |
| enable-cache: true | |
| - name: Install cargo-llvm-cov | |
| uses: taiki-e/install-action@cargo-llvm-cov | |
| - run: rustup toolchain install stable | |
| - run: rustup component add rustfmt clippy | |
| - run: curl -LsSf https://github.com/posit-dev/air/releases/latest/download/air-installer.sh | sh | |
| - name: actionlint | |
| run: ( ( which actionlint ) || ( ( which brew && brew install actionlint ) || ( which go && go install github.com/rhysd/actionlint/cmd/actionlint@latest ) ) || ( echo "Unable to install tool" ) ) | |
| - name: air | |
| run: ( ( which air ) || ( ( which brew && brew install air ) ) || ( echo "Unable to install tool" ) ) | |
| - name: alejandra | |
| run: ( ( which alejandra ) || ( ( which cargo && ( cargo binstall alejandra || cargo install alejandra ) ) ) || ( echo "Unable to install tool" ) ) | |
| - name: alex | |
| run: ( ( which alex ) || ( ( which npm && npm i -g alex ) ) || ( echo "Unable to install tool" ) ) | |
| - name: auto-optional | |
| run: ( ( which auto-optional ) || ( ( which pipx && pipx install auto-optional ) ) || ( echo "Unable to install tool" ) ) | |
| - name: autoflake | |
| run: ( ( which autoflake ) || ( ( which pipx && pipx install autoflake ) ) || ( echo "Unable to install tool" ) ) | |
| - name: autopep8 | |
| run: ( ( which autopep8 ) || ( ( which pipx && pipx install autopep8 ) ) || ( echo "Unable to install tool" ) ) | |
| - name: bashate | |
| run: ( ( which bashate ) || ( ( which brew && brew install bashate ) || ( which pipx && pipx install bashate ) ) || ( echo "Unable to install tool" ) ) | |
| - name: beautysh | |
| run: ( ( which beautysh ) || ( ( which brew && brew install beautysh ) ) || ( echo "Unable to install tool" ) ) | |
| - name: biome | |
| run: ( ( which biome ) || ( ( which npm && npm i -g @biomejs/biome ) ) || ( echo "Unable to install tool" ) ) | |
| - name: black | |
| run: ( ( which black ) || ( ( which brew && brew install black ) || ( which pipx && pipx install black ) ) || ( echo "Unable to install tool" ) ) | |
| - name: blade-formatter | |
| run: ( ( which blade-formatter ) || ( ( which npm && npm i -g blade-formatter ) ) || ( echo "Unable to install tool" ) ) | |
| - name: blue | |
| run: ( ( which blue ) || ( ( which pipx && pipx install blue ) ) || ( echo "Unable to install tool" ) ) | |
| - name: brunette | |
| run: ( ( which brunette ) || ( ( which pipx && pipx install brunette ) ) || ( echo "Unable to install tool" ) ) | |
| - name: buf | |
| run: ( ( which buf ) || ( ( which npm && npm i -g @bufbuild/buf ) || ( which brew && brew install bufbuild/buf/buf ) ) || ( echo "Unable to install tool" ) ) | |
| - name: clang-format | |
| run: ( ( which clang-format ) || ( ( which brew && brew install clang-format ) || ( which pipx && pipx install clang-format ) ) || ( echo "Unable to install tool" ) ) | |
| - name: coffeelint | |
| run: ( ( which coffeelint ) || ( ( which npm && npm i -g @coffeelint/cli ) ) || ( echo "Unable to install tool" ) ) | |
| - name: cppcheck | |
| run: ( ( which cppcheck ) || ( ( which brew && brew install cppcheck ) || ( which apt-get && sudo apt-get install -y cppcheck ) ) || ( echo "Unable to install tool" ) ) | |
| - name: cpplint | |
| run: ( ( which cpplint ) || ( ( which brew && brew install cpplint ) || ( which apt-get && sudo apt-get install -y cpplint ) || ( which pipx && pipx install cpplint ) ) || ( echo "Unable to install tool" ) ) | |
| - name: csharpier | |
| run: ( ( which csharpier ) || ( ( which dotnet && dotnet tool install -g csharpier ) ) || ( echo "Unable to install tool" ) ) | |
| - name: css-beautify | |
| run: ( ( which css-beautify ) || ( ( which npm && npm i -g js-beautify ) ) || ( echo "Unable to install tool" ) ) | |
| - name: csscomb | |
| run: ( ( which csscomb ) || ( ( which npm && npm i -g csscomb ) ) || ( echo "Unable to install tool" ) ) | |
| - name: csslint | |
| run: ( ( which csslint ) || ( ( which npm && npm i -g csslint ) ) || ( echo "Unable to install tool" ) ) | |
| - name: deno | |
| run: ( ( which deno ) || ( ( which cargo && ( cargo binstall deno || cargo install deno ) ) || ( which brew && brew install deno ) ) || ( echo "Unable to install tool" ) ) | |
| - name: dfmt | |
| run: ( ( which dfmt ) || ( ( which brew && brew install dfmt ) ) || ( echo "Unable to install tool" ) ) | |
| - name: dockerfmt | |
| run: ( ( which dockerfmt ) || ( ( which go && go install github.com/reteps/dockerfmt@latest ) ) || ( echo "Unable to install tool" ) ) | |
| - name: dx | |
| run: ( ( which dx ) || ( ( which cargo && ( cargo binstall dioxus-cli || cargo install dioxus-cli ) ) ) || ( echo "Unable to install tool" ) ) | |
| - name: efmt | |
| run: ( ( which efmt ) || ( ( which cargo && ( cargo binstall efmt || cargo install efmt ) ) ) || ( echo "Unable to install tool" ) ) | |
| - name: elm-format | |
| run: ( ( which elm-format ) || ( ( which npm && npm i -g elm-format ) ) || ( echo "Unable to install tool" ) ) | |
| - name: erg | |
| run: ( ( which erg ) || ( ( which cargo && ( cargo binstall erg || cargo install erg ) ) ) || ( echo "Unable to install tool" ) ) | |
| - name: fantomas | |
| run: ( ( which fantomas ) || ( ( which dotnet && dotnet tool install -g fantomas ) ) || ( echo "Unable to install tool" ) ) | |
| - name: fixjson | |
| run: ( ( which fixjson ) || ( ( which npm && npm i -g fixjson ) ) || ( echo "Unable to install tool" ) ) | |
| - name: fortitude | |
| run: ( ( which fortitude ) || ( ( which brew && brew install fortitude ) || ( which pipx && pipx install fortitude-lint ) ) || ( echo "Unable to install tool" ) ) | |
| - name: fortran-linter | |
| run: ( ( which fortran-linter ) || ( ( which brew && brew install fprettify ) || ( which pipx && pipx install fortran-linter ) ) || ( echo "Unable to install tool" ) ) | |
| - name: fourmolu | |
| run: ( ( which fourmolu ) || ( ( which brew && brew install fourmolu ) || ( which stack && stack install fourmolu ) || ( which cabal && cabal install fourmolu ) ) || ( echo "Unable to install tool" ) ) | |
| - name: fprettify | |
| run: ( ( which fprettify ) || ( ( which brew && brew install fprettify ) || ( which pipx && pipx install fprettify ) ) || ( echo "Unable to install tool" ) ) | |
| - name: gofumpt | |
| run: ( ( which gofumpt ) || ( ( which go && go install mvdan.cc/gofumpt@latest ) ) || ( echo "Unable to install tool" ) ) | |
| - name: goimports | |
| run: ( ( which goimports ) || ( ( which go && go install golang.org/x/tools/cmd/goimports@latest ) ) || ( echo "Unable to install tool" ) ) | |
| - name: golines | |
| run: ( ( which golines ) || ( ( which go && go install github.com/segmentio/golines@latest ) ) || ( echo "Unable to install tool" ) ) | |
| - name: google-java-format | |
| run: ( ( which google-java-format ) || ( ( which brew && brew install google-java-format ) ) || ( echo "Unable to install tool" ) ) | |
| - name: hindent | |
| run: ( ( which hindent ) || ( ( which apt-get && sudo apt-get install -y hindent ) || ( which stack && stack install hindent ) ) || ( echo "Unable to install tool" ) ) | |
| - name: hlint | |
| run: ( ( which hlint ) || ( ( which brew && brew install hlint ) || ( which stack && stack install hlint ) || ( which cabal && cabal install hlint ) ) || ( echo "Unable to install tool" ) ) | |
| - name: html-beautify | |
| run: ( ( which html-beautify ) || ( ( which npm && npm i -g js-beautify ) ) || ( echo "Unable to install tool" ) ) | |
| - name: htmlbeautifier | |
| run: ( ( which htmlbeautifier ) || ( ( which gem && gem install htmlbeautifier ) ) || ( echo "Unable to install tool" ) ) | |
| - name: hurlfmt | |
| run: ( ( which hurlfmt ) || ( ( which cargo && ( cargo binstall hurlfmt || cargo install hurlfmt ) ) ) || ( echo "Unable to install tool" ) ) | |
| - name: isort | |
| run: ( ( which isort ) || ( ( which pipx && pipx install isort ) ) || ( echo "Unable to install tool" ) ) | |
| - name: jq | |
| run: ( ( which jq ) || ( ( which apt-get && sudo apt-get install -y jq ) ) || ( echo "Unable to install tool" ) ) | |
| - name: jqfmt | |
| run: ( ( which jqfmt ) || ( ( which go && go install github.com/noperator/jqfmt/cmd/jqfmt@latest ) ) || ( echo "Unable to install tool" ) ) | |
| - name: js-beautify | |
| run: ( ( which js-beautify ) || ( ( which npm && npm i -g js-beautify ) ) || ( echo "Unable to install tool" ) ) | |
| - name: json_repair | |
| run: ( ( which json_repair ) || ( ( which pipx && pipx install json-repair ) ) || ( echo "Unable to install tool" ) ) | |
| - name: jsonlint | |
| run: ( ( which jsonlint ) || ( ( which npm && npm i -g jsonlint ) ) || ( echo "Unable to install tool" ) ) | |
| - name: jsonpp | |
| run: ( ( which jsonpp ) || ( ( which brew && brew install jsonpp ) ) || ( echo "Unable to install tool" ) ) | |
| - name: julia | |
| run: ( ( which juliaformatter.jl ) || ( ( which julia && julia -e 'import Pkg; Pkg.add("JuliaFormatter")' ) ) || ( echo "Unable to install tool" ) ) | |
| - name: just | |
| run: ( ( which just ) || ( ( which npm && npm i -g rust-just ) || ( which cargo && ( cargo binstall just || cargo install just ) ) || ( which brew && brew install just ) || ( which pipx && pipx install rust-just ) ) || ( echo "Unable to install tool" ) ) | |
| - name: kcl | |
| run: ( ( which kcl ) || ( ( which brew && brew install kcl-lang/tap/kcl ) || ( which go && go install kcl-lang.io/cli/cmd/kcl@latest ) ) || ( echo "Unable to install tool" ) ) | |
| - name: kdlfmt | |
| run: ( ( which kdlfmt ) || ( ( which npm && npm i -g kdlfmt ) || ( which cargo && ( cargo binstall kdlfmt || cargo install kdlfmt ) ) || ( which brew && brew install hougesen/tap/kdlfmt ) ) || ( echo "Unable to install tool" ) ) | |
| - name: ktfmt | |
| run: ( ( which ktfmt ) || ( ( which brew && brew install ktfmt ) ) || ( echo "Unable to install tool" ) ) | |
| - name: ktlint | |
| run: ( ( which ktlint ) || ( ( which brew && brew install ktlint ) ) || ( echo "Unable to install tool" ) ) | |
| - name: kulala-fmt | |
| run: ( ( which kulala-fmt ) || ( ( which npm && npm i -g @mistweaverco/kulala-fmt ) ) || ( echo "Unable to install tool" ) ) | |
| - name: lua-format | |
| run: ( ( which lua-format ) || ( ( which luarocks && luarocks install luaformatter ) ) || ( echo "Unable to install tool" ) ) | |
| - name: mado | |
| run: ( ( which mado ) || ( ( which brew && brew tap akiomik/mado https://github.com/akiomik/mado.git && brew install mado ) ) || ( echo "Unable to install tool" ) ) | |
| - name: mago | |
| run: ( ( which mago ) || ( ( which cargo && ( cargo binstall mago || cargo install mago ) ) || ( which brew && brew install mago ) || ( which composer && composer require carthage-software/mago ) ) || ( echo "Unable to install tool" ) ) | |
| - name: markdownfmt | |
| run: ( ( which markdownfmt ) || ( ( which go && go install github.com/shurcooL/markdownfmt@latest ) ) || ( echo "Unable to install tool" ) ) | |
| - name: markdownlint | |
| run: ( ( which markdownlint ) || ( ( which npm && npm i -g markdownlint-cli ) ) || ( echo "Unable to install tool" ) ) | |
| - name: markdownlint-cli2 | |
| run: ( ( which markdownlint-cli2 ) || ( ( which npm && npm i -g markdownlint-cli2 ) || ( which brew && brew install markdownlint-cli2 ) ) || ( echo "Unable to install tool" ) ) | |
| - name: mbake | |
| run: ( ( which mbake ) || ( ( which pipx && pipx install mbake ) ) || ( echo "Unable to install tool" ) ) | |
| - name: mdsf | |
| run: ( ( which mdsf ) || ( ( which npm && npm i -g mdsf-cli ) || ( which cargo && ( cargo binstall mdsf || cargo install mdsf ) ) || ( which brew && brew install hougesen/tap/mdsf ) ) || ( echo "Unable to install tool" ) ) | |
| - name: mise | |
| run: ( ( which mise ) || ( ( which npm && npm i -g @jdxcode/mise ) || ( which cargo && ( cargo binstall mise || cargo install mise ) ) || ( which brew && brew install mise ) ) || ( echo "Unable to install tool" ) ) | |
| - name: misspell | |
| run: ( ( which misspell ) || ( ( which go && go install github.com/client9/misspell/cmd/misspell@latest ) ) || ( echo "Unable to install tool" ) ) | |
| - name: nginxbeautifier | |
| run: ( ( which nginxbeautifier ) || ( ( which npm && npm i -g nginxbeautifier ) ) || ( echo "Unable to install tool" ) ) | |
| - name: nginxfmt | |
| run: ( ( which nginxfmt ) || ( ( which pipx && pipx install nginxfmt ) ) || ( echo "Unable to install tool" ) ) | |
| - name: nixpkgs-fmt | |
| run: ( ( which nixpkgs-fmt ) || ( ( which cargo && ( cargo binstall nixpkgs-fmt || cargo install nixpkgs-fmt ) ) ) || ( echo "Unable to install tool" ) ) | |
| - name: nph | |
| run: ( ( which nph ) || ( ( which nimble && nimble install nph ) ) || ( echo "Unable to install tool" ) ) | |
| - name: npm-groovy-lint | |
| run: ( ( which npm-groovy-lint ) || ( ( which npm && npm i -g npm-groovy-lint ) ) || ( echo "Unable to install tool" ) ) | |
| - name: ocamlformat | |
| run: ( ( which ocamlformat ) || ( ( which opam && eval $(opam env) && opam install ocamlformat ) ) || ( echo "Unable to install tool" ) ) | |
| - name: ocp-indent | |
| run: ( ( which ocp-indent ) || ( ( which apt-get && sudo apt-get install -y ocp-indent ) || ( which opam && eval $(opam env) && opam install ocp-indent ) ) || ( echo "Unable to install tool" ) ) | |
| - name: ormolu | |
| run: ( ( which ormolu ) || ( ( which brew && brew install ormolu ) || ( which apt-get && sudo apt-get install -y ormolu ) || ( which stack && stack install ormolu ) || ( which cabal && cabal install ormolu ) ) || ( echo "Unable to install tool" ) ) | |
| - name: oxlint | |
| run: ( ( which oxlint ) || ( ( which npm && npm i -g oxlint ) ) || ( echo "Unable to install tool" ) ) | |
| - name: perflint | |
| run: ( ( which perflint ) || ( ( which pipx && pipx install perflint ) ) || ( echo "Unable to install tool" ) ) | |
| - name: prettier | |
| run: ( ( which prettier ) || ( ( which npm && npm i -g prettier ) ) || ( echo "Unable to install tool" ) ) | |
| - name: prettierd | |
| run: ( ( which prettierd ) || ( ( which npm && npm i -g @fsouza/prettierd ) || ( which brew && brew install prettierd ) ) || ( echo "Unable to install tool" ) ) | |
| - name: prisma | |
| run: ( ( which prisma ) || ( ( which npm && npm i -g prisma ) ) || ( echo "Unable to install tool" ) ) | |
| - name: purs-tidy | |
| run: ( ( which purs-tidy ) || ( ( which npm && npm i -g purs-tidy ) ) || ( echo "Unable to install tool" ) ) | |
| - name: purty | |
| run: ( ( which purty ) || ( ( which npm && npm i -g purty ) ) || ( echo "Unable to install tool" ) ) | |
| - name: pycln | |
| run: ( ( which pycln ) || ( ( which pipx && pipx install pycln ) ) || ( echo "Unable to install tool" ) ) | |
| - name: pyflakes | |
| run: ( ( which pyflakes ) || ( ( which pipx && pipx install pyflakes ) ) || ( echo "Unable to install tool" ) ) | |
| - name: pyink | |
| run: ( ( which pyink ) || ( ( which pipx && pipx install pyink ) ) || ( echo "Unable to install tool" ) ) | |
| - name: pylint | |
| run: ( ( which pylint ) || ( ( which pipx && pipx install pylint ) ) || ( echo "Unable to install tool" ) ) | |
| - name: pymarkdownlnt | |
| run: ( ( which pymarkdownlnt ) || ( ( which pipx && pipx install pymarkdownlnt ) ) || ( echo "Unable to install tool" ) ) | |
| - name: pyrefly | |
| run: ( ( which pyrefly ) || ( ( which pipx && pipx install pyrefly ) ) || ( echo "Unable to install tool" ) ) | |
| - name: pyupgrade | |
| run: ( ( which pyupgrade ) || ( ( which pipx && pipx install pyupgrade ) ) || ( echo "Unable to install tool" ) ) | |
| - name: reorder-python-imports | |
| run: ( ( which reorder-python-imports ) || ( ( which pipx && pipx install reorder-python-imports ) ) || ( echo "Unable to install tool" ) ) | |
| - name: rescript | |
| run: ( ( which rescript ) || ( ( which npm && npm i -g rescript ) ) || ( echo "Unable to install tool" ) ) | |
| - name: rubocop | |
| run: ( ( which rubocop ) || ( ( which gem && gem install rubocop ) ) || ( echo "Unable to install tool" ) ) | |
| - name: rubyfmt | |
| run: ( ( which rubyfmt ) || ( ( which brew && brew install rubyfmt ) ) || ( echo "Unable to install tool" ) ) | |
| - name: ruff | |
| run: ( ( which ruff ) || ( ( which brew && brew install ruff ) || ( which pipx && pipx install ruff ) ) || ( echo "Unable to install tool" ) ) | |
| - name: rufo | |
| run: ( ( which rufo ) || ( ( which gem && gem install rufo ) ) || ( echo "Unable to install tool" ) ) | |
| - name: rustywind | |
| run: ( ( which rustywind ) || ( ( which npm && npm i -g rustywind ) || ( which cargo && ( cargo binstall rustywind || cargo install rustywind ) ) ) || ( echo "Unable to install tool" ) ) | |
| - name: scalafmt | |
| run: ( ( which scalafmt ) || ( ( which cs && cs install scalafmt ) ) || ( echo "Unable to install tool" ) ) | |
| - name: selene | |
| run: ( ( which selene ) || ( ( which cargo && ( cargo binstall selene || cargo install selene ) ) ) || ( echo "Unable to install tool" ) ) | |
| - name: semistandard | |
| run: ( ( which semistandard ) || ( ( which npm && npm i -g semistandard ) ) || ( echo "Unable to install tool" ) ) | |
| - name: shellcheck | |
| run: ( ( which shellcheck ) || ( ( which brew && brew install shellcheck ) || ( which apt-get && sudo apt-get install -y shellcheck ) || ( which stack && stack install ShellCheck ) || ( which cabal && cabal install ShellCheck ) ) || ( echo "Unable to install tool" ) ) | |
| - name: shfmt | |
| run: ( ( which shfmt ) || ( ( which brew && brew install shfmt ) || ( which go && go install mvdan.cc/sh/v3/cmd/shfmt@latest ) ) || ( echo "Unable to install tool" ) ) | |
| - name: sleek | |
| run: ( ( which sleek ) || ( ( which cargo && ( cargo binstall sleek || cargo install sleek ) ) || ( which brew && brew install sleek ) ) || ( echo "Unable to install tool" ) ) | |
| - name: smlfmt | |
| run: ( ( which smlfmt ) || ( ( which brew && brew install smlfmt ) ) || ( echo "Unable to install tool" ) ) | |
| - name: snakefmt | |
| run: ( ( which snakefmt ) || ( ( which brew && brew install snakefmt ) || ( which pipx && pipx install snakefmt ) ) || ( echo "Unable to install tool" ) ) | |
| - name: sql-formatter | |
| run: ( ( which sql-formatter ) || ( ( which npm && npm i -g sql-formatter ) ) || ( echo "Unable to install tool" ) ) | |
| - name: sqlfluff | |
| run: ( ( which sqlfluff ) || ( ( which pipx && pipx install sqlfluff ) ) || ( echo "Unable to install tool" ) ) | |
| - name: sqlfmt | |
| run: ( ( which sqlfmt ) || ( ( which pipx && pipx install shandy-sqlfmt[jinjafmt] ) ) || ( echo "Unable to install tool" ) ) | |
| - name: sqlint | |
| run: ( ( which sqlint ) || ( ( which gem && gem install sqlint ) ) || ( echo "Unable to install tool" ) ) | |
| - name: sqruff | |
| run: ( ( which sqruff ) || ( ( which cargo && ( cargo binstall sqruff || cargo install sqruff ) ) || ( which pipx && pipx install sqruff ) ) || ( echo "Unable to install tool" ) ) | |
| - name: squawk | |
| run: ( ( which squawk ) || ( ( which npm && npm i -g squawk-cli ) || ( which pipx && pipx install squawk-cli ) ) || ( echo "Unable to install tool" ) ) | |
| - name: standard | |
| run: ( ( which standard ) || ( ( which npm && npm i -g standard ) ) || ( echo "Unable to install tool" ) ) | |
| - name: standardrb | |
| run: ( ( which standardrb ) || ( ( which gem && gem install standardrb ) ) || ( echo "Unable to install tool" ) ) | |
| - name: stylefmt | |
| run: ( ( which stylefmt ) || ( ( which npm && npm i -g stylefmt ) ) || ( echo "Unable to install tool" ) ) | |
| - name: stylish-haskell | |
| run: ( ( which stylish-haskell ) || ( ( which brew && brew install stylish-haskell ) || ( which stack && stack install stylish-haskell ) || ( which cabal && cabal install stylish-haskell ) ) || ( echo "Unable to install tool" ) ) | |
| - name: stylua | |
| run: ( ( which stylua ) || ( ( which npm && npm i -g @johnnymorganz/stylua-bin ) || ( which cargo && ( cargo binstall stylua || cargo install stylua ) ) || ( which brew && brew install stylua ) ) || ( echo "Unable to install tool" ) ) | |
| - name: superhtml | |
| run: ( ( which superhtml ) || ( ( which brew && brew install superhtml ) ) || ( echo "Unable to install tool" ) ) | |
| - name: swiftformat | |
| run: ( ( which swiftformat ) || ( ( which brew && brew install swiftformat ) ) || ( echo "Unable to install tool" ) ) | |
| - name: taplo | |
| run: ( ( which taplo ) || ( ( which npm && npm i -g @taplo/cli ) || ( which cargo && ( cargo binstall taplo-cli || cargo install taplo-cli ) ) || ( which brew && brew install taplo ) ) || ( echo "Unable to install tool" ) ) | |
| - name: terraform | |
| run: ( ( which terraform ) || ( ( which brew && brew tap hashicorp/tap && brew install hashicorp/tap/terraform ) ) || ( echo "Unable to install tool" ) ) | |
| - name: tex-fmt | |
| run: ( ( which tex-fmt ) || ( ( which cargo && ( cargo binstall tex-fmt || cargo install tex-fmt ) ) || ( which brew && brew install tex-fmt ) || ( which apt-get && sudo apt-get install -y tex-fmt ) ) || ( echo "Unable to install tool" ) ) | |
| - name: tofu | |
| run: ( ( which tofu ) || ( ( which brew && brew install opentofu ) ) || ( echo "Unable to install tool" ) ) | |
| - name: tombi | |
| run: ( ( which tombi ) || ( ( which pipx && pipx install tombi ) ) || ( echo "Unable to install tool" ) ) | |
| - name: toml-sort | |
| run: ( ( which toml-sort ) || ( ( which pipx && pipx install toml-sort ) ) || ( echo "Unable to install tool" ) ) | |
| - name: topiary | |
| run: ( ( which topiary ) || ( ( which cargo && ( cargo binstall topiary-cli || cargo install topiary-cli ) ) ) || ( echo "Unable to install tool" ) ) | |
| - name: tsp | |
| run: ( ( which tsp ) || ( ( which npm && npm i -g @typespec/compiler ) ) || ( echo "Unable to install tool" ) ) | |
| - name: ty | |
| run: ( ( which ty ) || ( ( which pipx && pipx install ty ) ) || ( echo "Unable to install tool" ) ) | |
| - name: typos | |
| run: ( ( which typos ) || ( ( which cargo && ( cargo binstall typos-cli || cargo install typos-cli ) ) || ( which brew && brew install typos-cli ) ) || ( echo "Unable to install tool" ) ) | |
| - name: ufmt | |
| run: ( ( which ufmt ) || ( ( which pipx && pipx install ufmt ) ) || ( echo "Unable to install tool" ) ) | |
| - name: uiua | |
| run: ( ( which uiua ) || ( ( which cargo && ( cargo binstall uiua || cargo install uiua ) ) ) || ( echo "Unable to install tool" ) ) | |
| - name: unimport | |
| run: ( ( which unimport ) || ( ( which pipx && pipx install unimport ) ) || ( echo "Unable to install tool" ) ) | |
| - name: usort | |
| run: ( ( which usort ) || ( ( which pipx && pipx install usort ) ) || ( echo "Unable to install tool" ) ) | |
| - name: verusfmt | |
| run: ( ( which verusfmt ) || ( ( which cargo && ( cargo binstall verusfmt || cargo install verusfmt ) ) ) || ( echo "Unable to install tool" ) ) | |
| - name: vsg | |
| run: ( ( which vsg ) || ( ( which pipx && pipx install vsg ) ) || ( echo "Unable to install tool" ) ) | |
| - name: wfindent | |
| run: ( ( which wfindent ) || ( ( which brew && brew install findent ) || ( which apt-get && sudo apt-get install -y findent ) ) || ( echo "Unable to install tool" ) ) | |
| - name: xmlformat | |
| run: ( ( which xmlformat ) || ( ( which pipx && pipx install xmlformatter ) ) || ( echo "Unable to install tool" ) ) | |
| - name: xmllint | |
| run: ( ( which xmllint ) || ( ( which apt-get && sudo apt-get install -y libxml2-utils ) ) || ( echo "Unable to install tool" ) ) | |
| - name: xo | |
| run: ( ( which xo ) || ( ( which npm && npm i -g xo ) ) || ( echo "Unable to install tool" ) ) | |
| - name: xq | |
| run: ( ( which xq ) || ( ( which brew && brew install xq ) || ( which apt-get && sudo apt-get install -y xq ) ) || ( echo "Unable to install tool" ) ) | |
| - name: yamlfix | |
| run: ( ( which yamlfix ) || ( ( which brew && brew install yamlfix ) || ( which pipx && pipx install yamlfix ) ) || ( echo "Unable to install tool" ) ) | |
| - name: yamlfmt | |
| run: ( ( which yamlfmt ) || ( ( which brew && brew install yamlfmt ) || ( which go && go install github.com/google/yamlfmt/cmd/yamlfmt@latest ) ) || ( echo "Unable to install tool" ) ) | |
| - name: yamllint | |
| run: ( ( which yamllint ) || ( ( which brew && brew install yamllint ) || ( which pipx && pipx install yamllint ) ) || ( echo "Unable to install tool" ) ) | |
| - name: yapf | |
| run: ( ( which yapf ) || ( ( which brew && brew install yapf ) || ( which pipx && pipx install yapf ) ) || ( echo "Unable to install tool" ) ) | |
| - name: yew-fmt | |
| run: ( ( which yew-fmt ) || ( ( which cargo && ( cargo binstall yew-fmt || cargo install yew-fmt ) ) ) || ( echo "Unable to install tool" ) ) | |
| - name: yq | |
| run: ( ( which yq ) || ( ( which brew && brew install yq ) || ( which apt-get && sudo apt-get install -y yq ) || ( which go && go install github.com/mikefarah/yq/v4@latest ) ) || ( echo "Unable to install tool" ) ) | |
| - run: hash -r | |
| - name: Run tests | |
| run: cargo test | |
| - name: Generate code coverage | |
| run: cargo llvm-cov --all-features --all-targets --workspace --codecov --output-path codecov.json | |
| - name: Upload code coverage | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| files: codecov.json | |
| slug: hougesen/mdsf | |
| token: ${{ secrets.CODECOV_TOKEN }} |