File tree Expand file tree Collapse file tree 4 files changed +50
-1
lines changed Expand file tree Collapse file tree 4 files changed +50
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Ruff
2+ on : [ push, pull_request ]
3+
4+ jobs :
5+ ruff :
6+ runs-on : ubuntu-latest
7+ steps :
8+ - uses : actions/checkout@v4
9+ - uses : chartboost/ruff-action@v1
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ concurrency:
1313
1414jobs :
1515 pages :
16- runs-on : ubuntu-20.04
16+ runs-on : ubuntu-latest
1717 environment :
1818 name : github-pages
1919 url : ${{ steps.deployment.outputs.page_url }}
Original file line number Diff line number Diff line change 1+ name : Publish package distributions to PyPI
2+
3+ on :
4+ push :
5+ tags :
6+ - " *"
7+
8+ jobs :
9+ pypi :
10+ runs-on : ubuntu-latest
11+ environment :
12+ name : pypi
13+ url : https://pypi.org/p/sphinxnotes-mock
14+ permissions :
15+ id-token : write # IMPORTANT: this permission is mandatory for trusted publishing
16+ steps :
17+ - uses : actions/checkout@v4
18+ - uses : actions/setup-python@v5
19+ - run : pip install build twine && make dist
20+ - uses : pypa/gh-action-pypi-publish@release/v1
21+ with :
22+ password : ${{ secrets.PYPI_API_TOKEN }}
Original file line number Diff line number Diff line change 1+ name : Publish Github Release
2+
3+ on :
4+ push :
5+ tags :
6+ - " [0-9]+.[0-9]+" # MAJOR.MINOR (1.0: y, 1.0a0: n, 1.0.1: n)
7+
8+ jobs :
9+ release :
10+ runs-on : ubuntu-latest
11+ permissions :
12+ contents : write
13+ steps :
14+ - uses : actions/checkout@v4
15+ - uses : ncipollo/release-action@v1
16+ with :
17+ body : |
18+ Changelog: https://sphinx.silverrainz.me/mock/changelog.html
You can’t perform that action at this time.
0 commit comments