diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000000..50bb6c6204 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,20 @@ +on: [push, pull_request] + +name: Lint with awesome-lint + +jobs: + awesome-lint-workflow: + runs-on: ubuntu-latest + name: Linting with awesome-lint + steps: + - name: checkout repo + id: checkout + uses: actions/checkout@v2 + - name: awesome-lint-action + uses: squadcastHQ/awesome-lint-action@master + id: awesome-lint + with: + readme-file: "README.md" + workspace-dir: "${{ steps.checkout.env.GITHUB_WORKSPACE }}" + - name: awesome-lint report + run: echo "${{ steps.awesome-lint.outputs.report }}" \ No newline at end of file