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