Skip to content

Commit 266d372

Browse files
authored
added actions (#1)
* added actions * added action names * removed quotes * fixed indentation
1 parent 396a823 commit 266d372

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

Diff for: .github/workflows/poetry-validate.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: "Poetry validation"
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
validate:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout branch
14+
uses: actions/checkout@main
15+
16+
- name: Set up Python
17+
uses: actions/setup-python@main
18+
with:
19+
python-version: "3.10"
20+
21+
- name: Set up poetry
22+
run: curl -sSL https://install.python-poetry.org | python3 -
23+
24+
- name: Sync dependencies
25+
run: poetry install --with dev
26+
27+
- name: Make distributions
28+
run: poetry build
29+
30+

0 commit comments

Comments
 (0)