Skip to content

Commit 0dae305

Browse files
committed
Update deps, small refactoring github actions configs
1 parent 22d45cb commit 0dae305

5 files changed

Lines changed: 288 additions & 272 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Release
1+
name: release
22

33
on:
44
push:
@@ -19,9 +19,8 @@ jobs:
1919
python-version: "3.8"
2020
- name: Install poetry
2121
run: |
22-
wget -O get-poetry.py https://install.python-poetry.org
23-
python ./get-poetry.py --version $POETRY_VERSION
24-
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
22+
curl -sSL https://install.python-poetry.org | POETRY_VERSION=$POETRY_VERSION python3
23+
echo "$HOME/.local/bin" >> $GITHUB_PATH
2524
- name: Install dependencies
2625
run: poetry install --all-extras
2726
env:

.github/workflows/test.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Tests
1+
name: test
22

33
on:
44
pull_request:
@@ -23,9 +23,8 @@ jobs:
2323
python-version: "3.8"
2424
- name: Install poetry
2525
run: |
26-
wget -O get-poetry.py https://install.python-poetry.org
27-
python ./get-poetry.py --version $POETRY_VERSION
28-
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
26+
curl -sSL https://install.python-poetry.org | POETRY_VERSION=$POETRY_VERSION python3
27+
echo "$HOME/.local/bin" >> $GITHUB_PATH
2928
- name: Install dependencies
3029
run: poetry install --all-extras
3130
env:
@@ -51,9 +50,8 @@ jobs:
5150
python-version: "${{ matrix.py_version }}"
5251
- name: Install poetry
5352
run: |
54-
wget -O get-poetry.py https://install.python-poetry.org
55-
python ./get-poetry.py --version $POETRY_VERSION
56-
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
53+
curl -sSL https://install.python-poetry.org | POETRY_VERSION=$POETRY_VERSION python3
54+
echo "$HOME/.local/bin" >> $GITHUB_PATH
5755
- name: Install dependencies
5856
run: poetry install --all-extras
5957
env:

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ repos:
1414
- id: isort
1515

1616
- repo: https://github.com/psf/black
17-
rev: 22.8.0
17+
rev: 22.12.0
1818
hooks:
1919
- id: black
2020

0 commit comments

Comments
 (0)