Fix license checker #457
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@v3 | |
- 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@v3 | |
- 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@v3 | |
- uses: neohelden/actions-library/check-code-compliance@main |