Skip to content

Commit 2160a3d

Browse files
authored
🔧 Bump GH actions (#244)
1 parent f83c969 commit 2160a3d

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.github/workflows/benchmark.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- uses: actions/checkout@v2
1313

1414
- name: Set up Python 3.8
15-
uses: actions/setup-python@v2
15+
uses: actions/setup-python@v4
1616
with:
1717
python-version: 3.8
1818

.github/workflows/tests.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
steps:
2222
- uses: actions/checkout@v2
2323
- name: Set up Python 3.8
24-
uses: actions/setup-python@v2
24+
uses: actions/setup-python@v4
2525
with:
2626
python-version: '3.8'
27-
- uses: pre-commit/action@v2.0.0
27+
- uses: pre-commit/action@v3.0.0
2828

2929
tests:
3030

@@ -36,7 +36,7 @@ jobs:
3636
steps:
3737
- uses: actions/checkout@v2
3838
- name: Set up Python ${{ matrix.python-version }}
39-
uses: actions/setup-python@v2
39+
uses: actions/setup-python@v4
4040
with:
4141
python-version: ${{ matrix.python-version }}
4242
- name: Install dependencies
@@ -48,7 +48,7 @@ jobs:
4848
pytest tests/ --cov=markdown_it --cov-report=xml --cov-report=term-missing
4949
- name: Upload to Codecov
5050
if: matrix.python-version == '3.7' && github.repository == 'executablebooks/markdown-it-py'
51-
uses: codecov/codecov-action@v1
51+
uses: codecov/codecov-action@v3
5252
with:
5353
name: markdown-it-py-pytests-py3.7
5454
flags: pytests
@@ -64,7 +64,7 @@ jobs:
6464
steps:
6565
- uses: actions/checkout@v2
6666
- name: Set up Python ${{ matrix.python-version }}
67-
uses: actions/setup-python@v2
67+
uses: actions/setup-python@v4
6868
with:
6969
python-version: ${{ matrix.python-version }}
7070
- name: Install markdown-it-py
@@ -85,7 +85,7 @@ jobs:
8585
- uses: actions/checkout@v2
8686

8787
- name: Set up Python 3.8
88-
uses: actions/setup-python@v2
88+
uses: actions/setup-python@v4
8989
with:
9090
python-version: '3.8'
9191

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

100100
- name: Upload data
101-
uses: actions/upload-artifact@v2
101+
uses: actions/upload-artifact@v3
102102
with:
103103
name: bench-core
104104
path: bench-core.json
@@ -114,7 +114,7 @@ jobs:
114114
- name: Checkout source
115115
uses: actions/checkout@v2
116116
- name: Set up Python 3.8
117-
uses: actions/setup-python@v2
117+
uses: actions/setup-python@v4
118118
with:
119119
python-version: '3.8'
120120
- name: install flit

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Homepage = "https://github.com/executablebooks/markdown-it-py"
3535
Documentation = "https://markdown-it-py.readthedocs.io"
3636

3737
[project.optional-dependencies]
38-
code_style = ["pre-commit==2.6"]
38+
code_style = ["pre-commit~=3.0"]
3939
compare = [
4040
"commonmark~=0.9.1",
4141
"markdown~=3.3.6",

0 commit comments

Comments
 (0)