Skip to content

Initial import of library. #2

Initial import of library.

Initial import of library. #2

Workflow file for this run

name: Lint PRs
on:
pull_request:
workflow_dispatch:
jobs:
hadolint-pr:
runs-on: ubuntu-latest
name: PR - Hadolint
steps:
- uses: actions/checkout@v3
# Ignores do not work: https://github.com/reviewdog/action-hadolint/issues/35 is resolved
- uses: reviewdog/action-hadolint@v1
shellcheck-pr:
runs-on: ubuntu-latest
name: PR - Shellcheck
steps:
- uses: actions/checkout@v3
- uses: ludeeus/action-shellcheck@master
actionlint-pr:
runs-on: ubuntu-latest
name: PR - Actionlint
steps:
- uses: actions/checkout@v3
- run: |
echo "::add-matcher::.github/actionlint-matcher.json"
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
./actionlint -color -shellcheck=
shell: bash
docslint-pr:
runs-on: ubuntu-latest
name: PR - Markdownlint
steps:
- name: Run markdownlint
uses: actionshub/[email protected]
golint-pr:
runs-on: ubuntu-latest
name: PR - GO lint
steps:
- uses: actions/checkout@v3
- run: |
go generate ./...
- name: golangci-lint
uses: reviewdog/action-golangci-lint@v2