fix(semantic-release): install ruby 3 #465
Workflow file for this run
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: Check code compliance | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
action-lint: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Download actionlint | |
id: get_actionlint | |
run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash) | |
shell: bash | |
- name: actionlint version | |
run: ${{ steps.get_actionlint.outputs.executable }} -version | |
shell: bash | |
- name: Check workflow files | |
# TODO: include composites (https://github.com/rhysd/actionlint/issues/46) | |
run: ${{ steps.get_actionlint.outputs.executable }} -color -verbose | |
shell: bash | |
prettier: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Download prettier | |
id: get_prettier | |
run: sudo npm i -g prettier | |
shell: bash | |
- name: prettier version | |
run: npx prettier --version | |
shell: bash | |
- name: Check workflow files | |
run: npx prettier --check '.' | |
shell: bash | |
megalint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: neohelden/actions-library/check-code-compliance@main |