Skip to content

Commit

Permalink
🔧 Bump GH actions (#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsewell authored Feb 22, 2023
1 parent f83c969 commit 2160a3d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v2

- name: Set up Python 3.8
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.8

Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.8'
- uses: pre-commit/action@v2.0.0
- uses: pre-commit/action@v3.0.0

tests:

Expand All @@ -36,7 +36,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -48,7 +48,7 @@ jobs:
pytest tests/ --cov=markdown_it --cov-report=xml --cov-report=term-missing
- name: Upload to Codecov
if: matrix.python-version == '3.7' && github.repository == 'executablebooks/markdown-it-py'
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
name: markdown-it-py-pytests-py3.7
flags: pytests
Expand All @@ -64,7 +64,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install markdown-it-py
Expand All @@ -85,7 +85,7 @@ jobs:
- uses: actions/checkout@v2

- name: Set up Python 3.8
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.8'

Expand All @@ -98,7 +98,7 @@ jobs:
run: tox -e py38-bench-core -- --benchmark-json bench-core.json

- name: Upload data
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: bench-core
path: bench-core.json
Expand All @@ -114,7 +114,7 @@ jobs:
- name: Checkout source
uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.8'
- name: install flit
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Homepage = "https://github.com/executablebooks/markdown-it-py"
Documentation = "https://markdown-it-py.readthedocs.io"

[project.optional-dependencies]
code_style = ["pre-commit==2.6"]
code_style = ["pre-commit~=3.0"]
compare = [
"commonmark~=0.9.1",
"markdown~=3.3.6",
Expand Down

0 comments on commit 2160a3d

Please sign in to comment.