From 93df1b7b0fa667422d6ec0aef3c55450b2ce79c5 Mon Sep 17 00:00:00 2001 From: Elliot Matson <1711604+elliotmatson@users.noreply.github.com> Date: Mon, 30 May 2022 19:04:55 -0500 Subject: [PATCH] Update lint.yml --- .github/workflows/lint.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ffec5d3..054f558 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -7,17 +7,21 @@ on: branches: [main] jobs: - yaml-lint: + run-lint: name: Lint runs-on: ubuntu-latest + steps: + - name: Check out the codebase. uses: actions/checkout@v3 - - name: Set up Python 3.7. - uses: actions/setup-python@v2 with: - python-version: '3.x' - - name: Install test dependencies. - run: pip3 install yamllint - - name: Run yamllint. - run: yamllint . + # Full git history is needed to get a proper list of changed files within `super-linter` + fetch-depth: 0 + + - name: Lint Code Base + uses: github/super-linter@v4 + env: + VALIDATE_ALL_CODEBASE: false + DEFAULT_BRANCH: main + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}