Skip to content

Commit 52ad128

Browse files
committed
feat(action): 👷 update github action
1 parent 1d0a2f2 commit 52ad128

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

.github/workflows/docs.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ jobs:
77
deploy:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v2
11-
- uses: actions/setup-python@v2
10+
- uses: actions/checkout@v4
11+
- uses: actions/setup-python@v5
1212
with:
13-
python-version: 3.8
13+
python-version: 3.12
1414
- run: pip install mkdocs-material
1515
- run: mkdocs gh-deploy -f docs/mkdocs.yml --force

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ jobs:
77
build:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v2
10+
- uses: actions/checkout@v4
1111
- name: Build and publish to pypi
12-
uses: JRubics/poetry-publish@v1.17
12+
uses: JRubics/poetry-publish@v2.1
1313
with:
1414
pypi_token: ${{ secrets.PYPI_TOKEN }}
1515

@@ -19,7 +19,7 @@ jobs:
1919
.github/hack/changelog.sh $VERSION > NEW-VERSION-CHANGELOG.md
2020
2121
- name: Publish
22-
uses: softprops/action-gh-release@v1
22+
uses: softprops/action-gh-release@v2
2323
with:
2424
body_path: NEW-VERSION-CHANGELOG.md
2525
files: 'python-twitter-*'

.github/workflows/test.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,17 @@ jobs:
1313
matrix:
1414
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
1515
include:
16-
- python-version: '3.10'
16+
- python-version: '3.12'
1717
update-coverage: true
1818

1919
steps:
20-
- uses: actions/checkout@v3
20+
- uses: actions/checkout@v4
2121
- name: Set up Python ${{ matrix.python-version }}
22-
uses: actions/setup-python@v4
22+
uses: actions/setup-python@v5
2323
with:
2424
python-version: ${{ matrix.python-version }}
2525
- name: Cache pip
26-
uses: actions/cache@v2
26+
uses: actions/cache@v4
2727
with:
2828
path: ~/.cache/pip
2929
key: ${{ matrix.python-version }}-poetry-${{ hashFiles('pyproject.toml') }}
@@ -48,12 +48,12 @@ jobs:
4848
runs-on: ubuntu-latest
4949

5050
steps:
51-
- uses: actions/checkout@v3
52-
- uses: actions/setup-python@v4
51+
- uses: actions/checkout@v4
52+
- uses: actions/setup-python@v5
5353
with:
54-
python-version: '3.10'
54+
python-version: '3.12'
5555
- name: Cache pip
56-
uses: actions/cache@v2
56+
uses: actions/cache@v4
5757
with:
5858
path: ~/.cache/pip
5959
key: lintenv-v2

0 commit comments

Comments
 (0)