diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index f768b05..880a0c9 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -1,19 +1,14 @@ name: CI on: - push: - branches: [ "main" ] pull_request: - branches: [ "main" ] - - workflow_dispatch: - + branches: [main] + jobs: - build: + Awesome_Lint: runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1.2.0 - - uses: max/awesome-lint@v2.0.0 + - uses: actions/checkout@v2 with: - filename: README.md + fetch-depth: 0 + - run: npx awesome-lint