summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorChristian Clauss <cclauss@me.com>2020-08-21 07:11:06 +0200
committerGitHub <noreply@github.com>2020-08-21 07:11:06 +0200
commit913f9f823937c9b1cb0b5afc7e7e3ee7baf2c66d (patch)
tree99272622d5f24e98215af05e7345b41e6f06c539 /.github
parent9ba2e98b2aec6ff2dd6d7b9178c5cabb0c9d9d9f (diff)
downloadpymemcache-913f9f823937c9b1cb0b5afc7e7e3ee7baf2c66d.tar.gz
Upgrade GitHub Action CI.yml
* https://github.com/actions/checkout/blob/main/CHANGELOG.md * https://github.com/actions/setup-python/releases/tag/v2 * https://github.com/codespell-project/codespell * https://github.com/PyCQA/mccabe/blob/master/.travis.yml ``` ./pymemcache/fallback.py:19: theses ==> these, thesis 262./pymemcache/client/base.py:835: overriden ==> overridden 263./pymemcache/client/base.py:1004: sempahore ==> semaphore ```
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml9
1 files changed, 5 insertions, 4 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index da57fe6..fff867e 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -16,9 +16,9 @@ jobs:
python-version: [2.7, 3.5, 3.6, 3.7, 3.8, pypy2, pypy3]
steps:
- - uses: actions/checkout@v1
+ - uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
- uses: actions/setup-python@v1
+ uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
@@ -28,8 +28,9 @@ jobs:
- name: Lint
if: matrix.python-version == '2.7' || matrix.python-version == '3.8'
run: |
- pip install flake8
- flake8 pymemcache/
+ pip install codespell flake8
+ codespell . --skip=./.* --quiet-level=2
+ flake8 --max-complexity=10 pymemcache/
python setup.py check --restructuredtext
- name: Tests
run: |