Skip to content

Bump actions/checkout from 4.1.3 to 4.1.4 (#21) #56

Bump actions/checkout from 4.1.3 to 4.1.4 (#21)

Bump actions/checkout from 4.1.3 to 4.1.4 (#21) #56

Workflow file for this run

name: Linting
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
jobs:
yamllint:
name: Run yamllint
runs-on: ubuntu-22.04
steps:
- name: Check out code
uses: actions/[email protected]
- name: Get yamllint config file from dotfiles
env:
# yamllint disable-line rule:line-length
CONFIG_FILE: https://raw.githubusercontent.com/bewuethr/dotfiles/master/.config/yamllint/config
run: curl "$CONFIG_FILE" > .github/workflows/yamllintconfig
- name: Run YAML linter
uses: bewuethr/yamllint-action@v1
with:
config-file: .github/workflows/yamllintconfig
markdownlint:
name: Run markdownlint
runs-on: ubuntu-22.04
steps:
- name: Check out code
uses: actions/[email protected]
- name: Get mdl style file from dotfiles
env:
# yamllint disable-line rule:line-length
STYLE_FILE: https://raw.githubusercontent.com/bewuethr/dotfiles/master/.config/mdl/style.rb
run: curl "$STYLE_FILE" > .github/workflows/style.rb
- name: Run Markdown linter
uses: bewuethr/mdl-action@v1
with:
style-file: .github/workflows/style.rb
shellcheck:
name: Run ShellCheck
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/[email protected]
- name: Run shellcheck
uses: bewuethr/shellcheck-action@v2
lint:
name: Run super-linter job
uses: bewuethr/workflows/.github/workflows/linter.yml@main
with:
validate-dockerfile: true