Skip to content

Commit d3bfc0f

Browse files
Merge pull request #48 from devind-team/develop
ci: fixing lint
2 parents 903f52f + 3f0724d commit d3bfc0f

1 file changed

Lines changed: 16 additions & 8 deletions

File tree

.github/workflows/build.yml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,25 @@ jobs:
1212
linter:
1313
name: Lint request-evaluation
1414
runs-on: ubuntu-latest
15+
defaults:
16+
run:
17+
working-directory: .
1518
steps:
16-
- name: Checkout code
19+
- name: Checkout Code
1720
uses: actions/checkout@v3
21+
with:
22+
fetch-depth: 0
23+
- name: Install Python
24+
uses: actions/setup-python@v4
25+
with:
26+
python-version: '3.10'
27+
check-latest: true
28+
- name: Setup Poetry
29+
uses: Gr1N/setup-poetry@v7
30+
- name: Install dependencies
31+
run: poetry install
1832
- name: Lint python code
19-
uses: github/super-linter@v4
20-
env:
21-
VALIDATE_ALL_CODEBASE: false
22-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23-
DEFAULT_BRANCH: main
24-
PYTHON_FLAKE8_CONFIG_FILE: .flake8
25-
VALIDATE_PYTHON_FLAKE8: true
33+
run: poetry run flake8
2634

2735
test:
2836
name: Testing request-evaluation

0 commit comments

Comments
 (0)