Skip to content

Commit

Permalink
Merge branch 'main' into dev/task_adapt-ci-with-dependency-error
Browse files Browse the repository at this point in the history
  • Loading branch information
deeagle authored Oct 18, 2024
2 parents 533a2f7 + 002480a commit c7dde48
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,26 @@ jobs:
**/*.md
!CHANGELOG.md
- name: Checkout
uses: actions/checkout@v4

- name: Lint dockerfile
- name: Lint Dockerfile
uses: hadolint/[email protected]
with:
dockerfile: Dockerfile

lint-python:
name: Lint python
runs-on: ubuntu-latest

steps:
- name: Check out code
uses: actions/checkout@v4

- name: Set up Python environment
uses: actions/setup-python@v4
with:
python-version: "3.12"

- name: Install flake8
run: |
sudo apt-get install -yq python3-flake8
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
run: pip install flake8

- name: Lint with flake8
run: |
Expand Down

0 comments on commit c7dde48

Please sign in to comment.