8000 chore(deps): upgrade github actions · Python-Markdown/github-links@24242b5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 24242b5

Browse files
AdrianDsgwaylan
authored andcommitted
chore(deps): upgrade github actions
1 parent 5bc28d3 commit 24242b5

File tree

2 files changed

+36
-36
lines changed

2 files changed

+36
-36
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,15 @@ name: deploy
33
on:
44
push:
55
tags:
6-
- '*'
6+
- "*"
77

88
jobs:
9-
109
pypi:
1110
runs-on: ubuntu-latest
1211
steps:
13-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v4
1413
- name: Setup Python
15-
uses: actions/setup-python@v2
14+
uses: actions/setup-python@v5
1615
with:
1716
python-version: 3.11
1817
- name: Install dependencies
@@ -23,7 +22,7 @@ jobs:
2322
python -m build
2423
- name: Publish
2524
if: success()
26-
uses: pypa/gh-action-pypi-publish@v1.1.0
25+
uses: pypa/gh-action-pypi-publish@v1.8.11
2726
with:
2827
user: __token__
2928
password: ${{ secrets.PYPI_TOKEN }}

.github/workflows/python-package.yml

Lines changed: 32 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -3,55 +3,56 @@ name: Tests
33
on:
44
pull_request:
55
branches:
6-
- '**'
6+
- "**"
77

88
jobs:
99
test:
1010
strategy:
1111
fail-fast: false
1212
matrix:
1313
os: [ubuntu-latest, windows-latest, macos-latest]
14-
python-version: [3.8, 3.9, '3.10', 3.11, pypy-3.8, pypy-3.9, pypy-3.10]
14+
python-version:
15+
["3.8", "3.9", "3.10", "3.11", "pypy-3.8", "pypy-3.9", "pypy-3.10"]
1516
runs-on: ${{ matrix.os }}
1617
steps:
17-
- uses: actions/checkout@v2
18-
- name: Setup Python ${{ matrix.python-version }}
19-
uses: actions/setup-python@v2
20-
with:
21-
python-version: ${{ matrix.python-version }}
22-
- name: Install dependencies
23-
run: |
24-
python -m pip install --upgrade pip coverage markdown
25-
- name: Run tests
26-
run: |
27-
coverage run test_gh_links.py
28-
- name: Generate coverage report
29-
if: success()
30-
run: |
31-
coverage xml
32-
coverage report --show-missing --include=mdx_gh_links.py
33-
- name: Upload Results
34-
if: success()
35-
uses: codecov/codecov-action@v1
36-
with:
37-
file: ./coverage.xml
38-
flags: unittests
39-
name: ${{ matrix.os }}/Python ${{ matrix.python-version }}
40-
fail_ci_if_error: false
18+
- uses: actions/checkout@v4
19+
- name: Setup Python ${{ matrix.python-version }}
20+
uses: actions/setup-python@v5
21+
with:
22+
python-version: ${{ matrix.python-version }}
23+
- name: Install dependencies
24+
run: |
25+
python -m pip install --upgrade pip coverage markdown
26+
- name: Run tests
27+
run: |
28+
coverage run test_gh_links.py
29+
- name: Generate coverage report
30+
if: success()
31+
run: |
32+
coverage xml
33+
coverage report --show-missing --include=mdx_gh_links.py
34+
- name: Upload Results
35+
if: success()
36+
uses: codecov/codecov-action@v3
37+
with:
38+
files: ./coverage.xml
39+
flags: unittests
40+
name: ${{ matrix.os }}/Python ${{ matrix.python-version }}
41+
fail_ci_if_error: false
4142

4243
flake8:
4344
runs-on: ubuntu-latest
4445
steps:
45-
- uses: actions/checkout@v2
46+
- uses: actions/checkout@v4
4647
- uses: TrueBrain/actions-flake8@master
4748
with:
4849
max_line_length: 118
4950

5051
mdlint:
5152
runs-on: ubuntu-latest
5253
steps:
53-
- uses: actions/checkout@v2
54-
- uses: DavidAnson/markdownlint-cli2-action@v11
54+
- uses: actions/checkout@v4
55+
- uses: DavidAnson/markdownlint-cli2-action@v14
5556
with:
56-
config: '.markdownlint.jsonc'
57-
globs: '**/*.md'
57+
config: ".markdownlint.jsonc"
58+
globs: "**/*.md"

0 commit comments

Comments
 (0)
0