Skip to content

Commit 4840eae

Browse files
authored
chore: release of 0.5.3
Merge pull request #22 from Logic-py/develop
2 parents c0a9b75 + c3f2fed commit 4840eae

2 files changed

Lines changed: 41 additions & 21 deletions

File tree

.github/workflows/ci_check_release.yml

Lines changed: 40 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,18 @@ jobs:
4848
with:
4949
python-version: '3.12'
5050

51+
- name: Restore Poetry Cache
52+
uses: actions/cache@v4
53+
with:
54+
path: |
55+
~/.cache/pypoetry
56+
~/.poetry
57+
key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}
58+
5159
- name: Install Poetry
5260
run: |
5361
pip install poetry
5462
55-
- name: Install dependencies
56-
run: |
57-
poetry install
58-
5963
- name: Run Ruff Formatting
6064
run: |
6165
poetry run ruff format --config pyproject.toml .
@@ -73,14 +77,18 @@ jobs:
7377
with:
7478
python-version: '3.12'
7579

80+
- name: Restore Poetry Cache
81+
uses: actions/cache@v4
82+
with:
83+
path: |
84+
~/.cache/pypoetry
85+
~/.poetry
86+
key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}
87+
7688
- name: Install Poetry
7789
run: |
7890
pip install poetry
7991
80-
- name: Install dependencies
81-
run: |
82-
poetry install
83-
8492
- name: Run Ruff Linting
8593
run: |
8694
poetry run ruff check --config pyproject.toml .
@@ -98,14 +106,18 @@ jobs:
98106
with:
99107
python-version: '3.12'
100108

109+
- name: Restore Poetry Cache
110+
uses: actions/cache@v4
111+
with:
112+
path: |
113+
~/.cache/pypoetry
114+
~/.poetry
115+
key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}
116+
101117
- name: Install Poetry
102118
run: |
103119
pip install poetry
104120
105-
- name: Install dependencies
106-
run: |
107-
poetry install
108-
109121
- name: Run Mypy Type Checking
110122
run: |
111123
poetry run mypy --config-file pyproject.toml .
@@ -123,14 +135,18 @@ jobs:
123135
with:
124136
python-version: '3.12'
125137

138+
- name: Restore Poetry Cache
139+
uses: actions/cache@v4
140+
with:
141+
path: |
142+
~/.cache/pypoetry
143+
~/.poetry
144+
key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}
145+
126146
- name: Install Poetry
127147
run: |
128148
pip install poetry
129149
130-
- name: Install dependencies
131-
run: |
132-
poetry install
133-
134150
- name: Run Unit Tests
135151
run: |
136152
poetry run pytest
@@ -149,14 +165,18 @@ jobs:
149165
with:
150166
python-version: '3.12'
151167

168+
- name: Restore Poetry Cache
169+
uses: actions/cache@v4
170+
with:
171+
path: |
172+
~/.cache/pypoetry
173+
~/.poetry
174+
key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}
175+
152176
- name: Install Poetry
153177
run: |
154178
pip install poetry
155179
156-
- name: Install dependencies
157-
run: |
158-
poetry install
159-
160180
- name: Read version from pyproject.toml
161181
id: get_version
162182
run: |

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "python-template"
3-
version = "0.5.2"
3+
version = "0.5.3"
44
description = "Used to templatize python projects."
55
authors = ["Loïc Motheu <lmotheu@gmail.com>"]
66
readme = "README.md"

0 commit comments

Comments
 (0)