Skip to content

Commit a0378ba

Browse files
committed
[gh-actions] yamllint
1 parent a926cab commit a0378ba

File tree

2 files changed

+26
-26
lines changed

2 files changed

+26
-26
lines changed

.github/workflows/release.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: Build and upload Python Package
33

4-
on:
4+
'on':
55
release:
66
types: [created]
77

@@ -11,22 +11,22 @@ jobs:
1111
environment: deploy # only the deploy environment has `secrets.PYPI_TOKEN`
1212

1313
steps:
14-
- uses: actions/checkout@v4
15-
- name: Set up Python
16-
uses: actions/setup-python@v5
17-
with:
14+
- uses: actions/checkout@v4
15+
- name: Set up Python
16+
uses: actions/setup-python@v5
17+
with:
1818
python-version: "3.10"
19-
- name: Install dependencies
20-
run: |
21-
python -m pip install --upgrade "build>=1.3.0" "twine>=6.1.0"
22-
- name: Build package
23-
run: |
24-
python -m build .
25-
- name: Check long description
26-
run: python -m twine check dist/*
27-
- name: Publish package on PyPI
28-
env:
29-
TWINE_USERNAME: __token__
30-
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
31-
run: |
32-
twine upload dist/*
19+
- name: Install dependencies
20+
run: |
21+
python -m pip install --upgrade "build>=1.3.0" "twine>=6.1.0"
22+
- name: Build package
23+
run: |
24+
python -m build .
25+
- name: Check long description
26+
run: python -m twine check dist/*
27+
- name: Publish package on PyPI
28+
env:
29+
TWINE_USERNAME: __token__
30+
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
31+
run: |
32+
twine upload dist/*

.github/workflows/tests.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
22
name: Tests
33

4-
on:
4+
'on':
55
push:
66
branches:
7-
- main
7+
- main
88
pull_request:
99

1010
jobs:
@@ -14,11 +14,11 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
python-version:
17-
- "3.10"
18-
- "3.11"
19-
- "3.12"
20-
- "3.13"
21-
- "3.14.0-rc.2 - 3.14"
17+
- "3.10"
18+
- "3.11"
19+
- "3.12"
20+
- "3.13"
21+
- "3.14.0-rc.2 - 3.14"
2222

2323
steps:
2424
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)