Skip to content

Commit

Permalink
update github actions (#1601)
Browse files Browse the repository at this point in the history
* update github actions

* temporarily ignore bad cert
  • Loading branch information
davisagli committed Mar 19, 2023
1 parent fae3744 commit 193884e
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 41 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/black.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,14 @@ jobs:

steps:
# git checkout
- uses: actions/checkout@v2
- uses: actions/checkout@v3

# python setup
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

# python cache
- uses: actions/cache@v1
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
cache: pip

# install black (extract version from versions.cfg)
- name: install black
Expand Down
13 changes: 3 additions & 10 deletions .github/workflows/flake8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,14 @@ jobs:

steps:
# git checkout
- uses: actions/checkout@v2
- uses: actions/checkout@v3

# python setup
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

# python cache
- uses: actions/cache@v1
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
cache: pip

# install flake8
- name: install flake8
Expand Down
13 changes: 3 additions & 10 deletions .github/workflows/pyroma.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,14 @@ jobs:

steps:
# git checkout
- uses: actions/checkout@v2
- uses: actions/checkout@v3

# python setup
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

# python cache
- uses: actions/cache@v1
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
cache: pip

# install pyroma
- name: install pyroma
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

steps:
# git checkout
- uses: actions/checkout@v2
- uses: actions/checkout@v3

# python setup
- name: Set up Python ${{ matrix.python-version }}
Expand Down
13 changes: 3 additions & 10 deletions .github/workflows/zpretty.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,14 @@ jobs:

steps:
# git checkout
- uses: actions/checkout@v2
- uses: actions/checkout@v3

# python setup
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

# python cache
- uses: actions/cache@v1
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
cache: pip

# install zpretty
- name: install zpretty
Expand Down
1 change: 1 addition & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ def patch_pygments_to_highlight_jsonschema():
linkcheck_ignore = [
r"https://coveralls.io/repos/github/plone/plone.restapi/badge.svg\?branch=master", # plone.restapi
r"https://github.com/plone/plone.restapi/blob/dde57b88e0f1b5f5e9f04e6a21865bc0dde55b1c/src/plone/restapi/services/content/add.py#L35-L61", # plone.restapi
r"https://vhs-ehrenamtsportal.de/", # cert fix in progress
]


Expand Down

0 comments on commit 193884e

Please sign in to comment.