Update DavidAnson/markdownlint-cli2-action action to v18 #175
This file contains 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: MacOS CI | |
"on": | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- "*" | |
workflow_dispatch: {} | |
jobs: | |
macos-ci: | |
name: MacOS CI | |
runs-on: macos-14 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- id: tool-versions | |
name: Parse .tool-versions | |
uses: ./ | |
- name: Test for bash | |
shell: bash | |
run: | | |
RUBY=${{steps.tool-versions.outputs.example-ruby}} | |
NPM=${{steps.tool-versions.outputs.example-npm}} | |
PYTHON=${{steps.tool-versions.outputs.example-python}} | |
NODEJS=${{steps.tool-versions.outputs.example-nodejs}} | |
echo "${RUBY?output not set}" | |
echo "${NPM?output not set}" | |
echo "${PYTHON?output not set}" | |
echo "${NODEJS?output not set}" | |
- name: Test for pwsh | |
shell: pwsh | |
run: | | |
$Env:RUBY="${{steps.tool-versions.outputs.example-ruby}}" | |
$Env:NPM="${{steps.tool-versions.outputs.example-npm}}" | |
$Env:PYTHON="${{steps.tool-versions.outputs.example-python}}" | |
$Env:NODEJS="${{steps.tool-versions.outputs.example-nodejs}}" | |
Test-Path $Env:RUBY | |
Test-Path $Env:NPM | |
Test-Path $Env:PYTHON | |
Test-Path $Env:NODEJS | |
- name: Test for sh | |
shell: sh | |
run: | | |
RUBY=${{steps.tool-versions.outputs.example-ruby}} | |
NPM=${{steps.tool-versions.outputs.example-npm}} | |
PYTHON=${{steps.tool-versions.outputs.example-python}} | |
NODEJS=${{steps.tool-versions.outputs.example-nodejs}} | |
echo "${RUBY?output not set}" | |
echo "${NPM?output not set}" | |
echo "${PYTHON?output not set}" | |
echo "${NODEJS?output not set}" |