chore(master): release 12.5.0 (#118) #147
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: CI | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
jobs: | |
yaml-lint: | |
name: 'Lint: Yaml' | |
runs-on: ubuntu-latest | |
if: always() | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Run yamllint | |
uses: karancode/[email protected] | |
with: | |
yamllint_file_or_dir: '.' | |
yamllint_strict: true | |
yamllint_config_filepath: config/yamllint/config | |
ruby-lint: | |
name: 'Lint: Ruby' | |
runs-on: ubuntu-latest | |
if: always() | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: RuboCop Linter Action | |
uses: andrewmcodes/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
lua-formatting: | |
name: 'Format: Lua' | |
runs-on: ubuntu-latest | |
if: always() | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Run stylua check | |
uses: JohnnyMorganz/stylua-action@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
version: 0.15.1 | |
args: --check . | |
lua-diagnotics: | |
name: 'Diagnostics: Lua' | |
runs-on: ubuntu-latest | |
if: always() | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install ASDF | |
uses: asdf-vm/actions/setup@v1 | |
- name: ASDF Plugin Add | |
run: | | |
asdf plugin add lua-language-server https://github.com/shun-shobon/asdf-lua-language-server.git | |
- name: ASDF Install | |
uses: asdf-vm/actions/install@v1 | |
- name: Run Diagnostics Check | |
run: | | |
lua-language-server --check config/nvim/lua --checklevel=Warning | |
shell-lint: | |
name: 'Lint: Shell' | |
runs-on: ubuntu-latest | |
if: always() | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: ShellCheck | |
uses: ludeeus/action-shellcheck@b2bbefc2e6b9dcbc6355b85e366c9e55bf8d57e1 | |
with: | |
ignore_paths: './iterm/TerminalVim.app/' | |
ignore_names: '*/**/*.zsh zshrc' | |
spelling: | |
name: 'Lint: Spelling' | |
runs-on: ubuntu-latest | |
if: always() | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Check spelling in code | |
# yamllint disable-line rule:line-length | |
uses: codespell-project/actions-codespell@2391250ab05295bddd51e36a8c6295edb6343b0e |