diff --git a/.github/linters/.markdown-lint.yml b/.github/linters/.markdown-lint.yml new file mode 100644 index 0000000..67d2ae5 --- /dev/null +++ b/.github/linters/.markdown-lint.yml @@ -0,0 +1,3 @@ +{ + "MD013": false +} diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 8a2a9fc..84cf48c 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -3,6 +3,21 @@ name: PR on: pull_request jobs: + superlinter: + name: Lint bash, docker, markdown, and yaml + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Lint codebase + uses: docker://github/super-linter:v3.8.3 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + VALIDATE_ALL_CODEBASE: true + VALIDATE_BASH: true + VALIDATE_DOCKERFILE: true + VALIDATE_MD: true + VALIDATE_YAML: true + validate-docker-image-builds: name: Validate Docker image builds runs-on: ubuntu-latest @@ -11,16 +26,6 @@ jobs: - name: Docker build run: "docker build --pull ." - shellcheck: - name: Shellcheck - runs-on: ubuntu-latest - container: - image: ponylang/shared-docker-ci-shellcheck:20191008 - steps: - - uses: actions/checkout@v1 - - name: Shellcheck entrypoint.sh - run: shellcheck entrypoint.sh - verify-changelog: name: Verify CHANGELOG is valid runs-on: ubuntu-latest diff --git a/.markdownlintignore b/.markdownlintignore new file mode 100644 index 0000000..c04d5ca --- /dev/null +++ b/.markdownlintignore @@ -0,0 +1,2 @@ +CHANGELOG.md +CODE_OF_CONDUCT.md