This commit is contained in:
parent
f3deb10d70
commit
684d83707e
|
@ -15,16 +15,17 @@ jobs:
|
|||
run: python3 --version
|
||||
- name: Install PDM
|
||||
run: |
|
||||
echo curl
|
||||
curl -sSL https://ghp.ci/https://pdm-project.org/install-pdm.py -o install-pdm.py
|
||||
echo sed
|
||||
sed -i 's|https://github.com|https://ghp.ci/https://github.com|g' install-pdm.py
|
||||
echo python3
|
||||
python3 install-pdm.py -p /usr
|
||||
- name: Display PDM version
|
||||
run: pdm --version
|
||||
- name: PDM install dependencies
|
||||
run: |
|
||||
pdm install
|
||||
echo "/root/.local/bin" >> $GITHUB_PATH
|
||||
echo "Updated PATH: $PATH"
|
||||
- name: Lint
|
||||
run: |
|
||||
pdm run lint
|
||||
|
|
Loading…
Reference in New Issue
Block a user