Skip to content

fix(semantic-release): install ruby 3 #466

fix(semantic-release): install ruby 3

fix(semantic-release): install ruby 3 #466

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