Skip to content

Commit 5a2207f

Browse files
committed
Updated lint action
1 parent 88cf272 commit 5a2207f

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/lint-and-test.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,20 @@ name: Lint and test
33
on:
44
push:
55

6+
env:
7+
REPO_PATH: "/__w/python-amazon-paapi/python-amazon-paapi"
8+
69
jobs:
710

811
isort:
912
runs-on: ubuntu-latest
1013
container:
1114
image: sergioteula/pytools
1215
volumes:
13-
- /__w/python-amazon-paapi/python-amazon-paapi:/code
16+
- ${{env.REPO_PATH}}:/code
1417
steps:
1518
- name: Check out code
1619
uses: actions/checkout@v2
1720

1821
- name: Check imports order
19-
run: ls -la && cd scripts && ls -la && ./check_isort
22+
run: ./scripts/check_isort

0 commit comments

Comments
 (0)