diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2612c31..4d63a14 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,20 +17,7 @@ jobs: uses: actions/checkout@v4 with: ref: dev - - name: Lint the Dockerfile - uses: hadolint/hadolint-action@v3.1.0 - with: - dockerfile: Dockerfile - - name: Lint the source code - uses: Silleellie/pylint-github-action@v2.1 - with: - lint-path: | - mysite - polls - manage.py - requirements-path: requirements.txt - readme-path: README.md - python-version: 3.11 # python version which will lint the package + - name: Set up Python uses: actions/setup-python@v4 with: @@ -54,5 +41,19 @@ jobs: Repository: ${{ github.repository }} See changes: https://github.com/${{ github.repository }}/commit/${{github.sha}} - - name: Check fail - run: echo "Unreachable" + - name: Lint the Dockerfile + uses: hadolint/hadolint-action@v3.1.0 + with: + dockerfile: Dockerfile + + - name: Lint the source code + uses: Silleellie/pylint-github-action@v2.1 + with: + lint-path: | + mysite + polls + manage.py + requirements-path: requirements.txt + readme-path: README.md + python-version: 3.11 # python version which will lint the package +