Skip to content

Commit 0095c9c

Browse files
committed
Revert "update github actions (hardbyte#1409)"
This reverts commit 0c82d2c.
1 parent 661a39c commit 0095c9c

File tree

3 files changed

+18
-36
lines changed

3 files changed

+18
-36
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,17 @@ jobs:
1313
matrix:
1414
os: [ubuntu-latest, macos-latest, windows-latest]
1515
experimental: [false]
16-
python-version: [
17-
"3.7",
18-
"3.8",
19-
"3.9",
20-
"3.10",
21-
"3.11.0-alpha - 3.11.0",
22-
"pypy-3.7",
23-
"pypy-3.8",
24-
"pypy-3.9",
25-
]
16+
python-version: ["3.7", "3.8", "3.9", "3.10", "pypy-3.7", "pypy-3.8"]
17+
include:
18+
# Only test on a single configuration while there are just pre-releases
19+
- os: ubuntu-latest
20+
experimental: true
21+
python-version: "3.11.0-alpha - 3.11.0"
2622
fail-fast: false
2723
steps:
28-
- uses: actions/checkout@v3
24+
- uses: actions/checkout@v2
2925
- name: Set up Python ${{ matrix.python-version }}
30-
uses: actions/setup-python@v4
26+
uses: actions/setup-python@v3
3127
with:
3228
python-version: ${{ matrix.python-version }}
3329
- name: Install dependencies
@@ -38,16 +34,16 @@ jobs:
3834
run: |
3935
tox -e gh
4036
- name: Upload coverage to Codecov
41-
uses: codecov/codecov-action@v3
37+
uses: codecov/codecov-action@v2
4238
with:
4339
fail_ci_if_error: true
4440

4541
static-code-analysis:
4642
runs-on: ubuntu-latest
4743
steps:
48-
- uses: actions/checkout@v3
44+
- uses: actions/checkout@v2
4945
- name: Set up Python
50-
uses: actions/setup-python@v4
46+
uses: actions/setup-python@v3
5147
with:
5248
python-version: "3.10"
5349
- name: Install dependencies
@@ -79,9 +75,9 @@ jobs:
7975
format:
8076
runs-on: ubuntu-latest
8177
steps:
82-
- uses: actions/checkout@v3
78+
- uses: actions/checkout@v2
8379
- name: Set up Python
84-
uses: actions/setup-python@v4
80+
uses: actions/setup-python@v3
8581
with:
8682
python-version: "3.10"
8783
- name: Install dependencies
@@ -95,9 +91,9 @@ jobs:
9591
docs:
9692
runs-on: ubuntu-latest
9793
steps:
98-
- uses: actions/checkout@v3
94+
- uses: actions/checkout@v2
9995
- name: Set up Python
100-
uses: actions/setup-python@v4
96+
uses: actions/setup-python@v3
10197
with:
10298
python-version: "3.10"
10399
- name: Install dependencies
@@ -113,16 +109,3 @@ jobs:
113109
name: sphinx-out
114110
path: ./build/
115111
retention-days: 5
116-
117-
build:
118-
runs-on: ubuntu-latest
119-
steps:
120-
- uses: actions/checkout@v3
121-
- name: Set up Python
122-
uses: actions/setup-python@v4
123-
with:
124-
python-version: "3.10"
125-
- name: Build wheel and sdist
126-
run: pipx run build
127-
- name: Check build artifacts
128-
run: pipx run twine check --strict dist/*

.github/workflows/format-code.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ jobs:
99
build:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v2
1313
- name: Set up Python
14-
uses: actions/setup-python@v4
14+
uses: actions/setup-python@v2
1515
with:
1616
python-version: "3.10"
1717
- name: Install dependencies
@@ -22,7 +22,7 @@ jobs:
2222
run: |
2323
black --verbose .
2424
- name: Commit Formated Code
25-
uses: EndBug/add-and-commit@v9
25+
uses: EndBug/add-and-commit@v7
2626
with:
2727
message: "Format code with black"
2828
# Ref https://git-scm.com/docs/git-add#_examples

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
url="https://github.com/hardbyte/python-can",
4545
description="Controller Area Network interface module for Python",
4646
long_description=long_description,
47-
long_description_content_type="text/x-rst",
4847
classifiers=[
4948
# a list of all available ones: https://pypi.org/classifiers/
5049
"Programming Language :: Python",

0 commit comments

Comments
 (0)