Skip to content

Commit fba6075

Browse files
shenxianpeng2bndy5
andauthored
docs: Update README and bump version to 1.4.2 (#56)
* docs: Update README and bump version to 1.4.2 * update some other fields in setup.py * update version tags used Co-authored-by: 2bndy5 <2bndy5@gmail.com>
1 parent 9f2caa8 commit fba6075

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

.github/workflows/cpp-linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
cpp-linter:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v3
1414
- uses: shenxianpeng/cpp-linter-action@master
1515
id: linter
1616
env:

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ jobs:
3535
cpp-linter:
3636
runs-on: ubuntu-latest
3737
steps:
38-
- uses: actions/checkout@v2
39-
- uses: shenxianpeng/cpp-linter-action@master
38+
- uses: actions/checkout@v3
39+
- uses: shenxianpeng/cpp-linter-action@v1
4040
id: linter
4141
env:
4242
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -163,7 +163,7 @@ jobs:
163163
directory: ${{ runner.temp }}/llvm
164164

165165
- name: Install linter python package
166-
run: python3 -m pip install git+https://github.com/shenxianpeng/cpp-linter-action
166+
run: python3 -m pip install git+https://github.com/shenxianpeng/cpp-linter-action@v1
167167

168168
- name: run linter as a python package
169169
id: linter

setup.py

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,26 @@
66
ROOT_DIR = os.path.abspath(os.path.dirname(__file__))
77
REPO = "https://github.com/"
88
repo = os.getenv("GITHUB_REPOSITORY", None) # in case this is published from a fork
9-
REPO += "" if repo is None else repo
10-
if repo is None:
11-
REPO += "2bndy5/cpp-linter-action"
9+
REPO += "shenxianpeng/cpp-linter-action" if repo is None else repo
1210

1311

1412
setup(
1513
name="cpp_linter",
1614
# use_scm_version=True,
1715
# setup_requires=["setuptools_scm"],
18-
version="1.3.1",
16+
version="1.4.2",
1917
description=__doc__,
20-
long_description=".. warning:: this is not meant for PyPi (yet)",
21-
author="Brendan Doherty",
18+
long_description=(
19+
"A python package that powers the github action named cpp-linter-action. "
20+
+ f"See `the github repository README <{REPO}#readme>`_ for full details."
21+
),
22+
author="Brendan Doherty, Peter Shen",
2223
author_email="2bndy5@gmail.com",
2324
install_requires=["requests", "pyyaml"], # pyyaml is installed with clang-tidy
2425
license="MIT",
2526
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
2627
classifiers=[
27-
"Development Status :: 1 - Production/Alpha",
28+
"Development Status :: 5 - Production/Stable",
2829
"Intended Audience :: Developers",
2930
"License :: OSI Approved :: MIT License",
3031
"Programming Language :: Python :: 3",

0 commit comments

Comments
 (0)