Skip to content

Commit 6a12124

Browse files
committed
int: Update workflows and setup
1 parent 1e3d034 commit 6a12124

File tree

3 files changed

+15
-17
lines changed

3 files changed

+15
-17
lines changed

.github/workflows/auto-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# # This workflows will create a release using auto when a PR is merged in master.
1+
# This workflows will create a release using auto when a PR is merged in master.
22

3-
name: Format and auto-release on PR merge
3+
name: Auto-release on PR merge
44

55
on:
66
# ATM, this is the closest trigger to a PR merging
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
1212
auto-release:
13-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-22.04
1414
# Set skip ci to avoid loops
1515
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
1616
# Set bash as default shell for jobs
@@ -19,7 +19,7 @@ jobs:
1919
shell: bash
2020
steps:
2121
- name: Checkout source
22-
uses: actions/checkout@v2
22+
uses: actions/checkout@v4
2323
with:
2424
# Fetch all history for all branches and tags
2525
fetch-depth: 0
Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# # This workflows will upload a Python Package using Twine when a release is created
2-
# # For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
1+
# This workflows will upload a Python Package using Twine when a release is created
2+
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
33

44
name: Upload Python Package
55

@@ -10,15 +10,15 @@ on:
1010
jobs:
1111
deploy:
1212

13-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-22.04
1414

1515
steps:
1616
- name: Checkout source
17-
uses: actions/checkout@v2
17+
uses: actions/checkout@v4
1818
- name: Set up Python
19-
uses: actions/setup-python@v2
19+
uses: actions/setup-python@v5
2020
with:
21-
python-version: '3.6'
21+
python-version: 3.11
2222
- name: Install dependencies
2323
run: |
2424
python -m pip install --upgrade pip
@@ -29,4 +29,5 @@ jobs:
2929
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
3030
run: |
3131
python setup.py sdist bdist_wheel
32+
twine check dist/*
3233
twine upload dist/*

setup.cfg

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,14 @@
22
name = <reponame>
33
url = https://github.com/physiopy/<reponame>
44
download_url = https://github.com/physiopy/<reponame>
5-
author = Physiopy community
6-
maintainer = Stefano Moia
7-
maintainer_email = s.moia.research@gmail.com
5+
author = The Physiopy Community
6+
maintainer = The Physiopy Community
7+
maintainer_email = physiopy.community@gmail.com
88
classifiers =
99
Development Status :: 1 - Planning
1010
Intended Audience :: Science/Research
1111
License :: OSI Approved :: <license>
12-
Programming Language :: Python :: 3.7
13-
Programming Language :: Python :: 3.8
14-
Programming Language :: Python :: 3.9
15-
Programming Language :: Python :: 3.10
12+
Programming Language :: Python :: 3
1613
license = <license>
1714
description = <Description>.
1815
long_description = file:README.md

0 commit comments

Comments
 (0)