Skip to content

Commit 83f178d

Browse files
committed
Use the latest GitHub actions versions
1 parent 155ae9c commit 83f178d

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

.github/workflows/create-release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
permissions:
1818
id-token: write # for PyPI trusted publishing
1919
steps:
20-
- uses: actions/checkout@v3
20+
- uses: actions/checkout@v4
2121
- name: Set up Python
22-
uses: actions/setup-python@v4
22+
uses: actions/setup-python@v5
2323
with:
2424
python-version: 3
2525
cache: pip
@@ -35,7 +35,7 @@ jobs:
3535

3636
- name: Mint PyPI API token
3737
id: mint-token
38-
uses: actions/github-script@v6
38+
uses: actions/github-script@v7
3939
with:
4040
# language=JavaScript
4141
script: |
@@ -75,15 +75,15 @@ jobs:
7575
permissions:
7676
contents: write # for softprops/action-gh-release to create GitHub release
7777
steps:
78-
- uses: actions/checkout@v3
78+
- uses: actions/checkout@v4
7979
- name: Get release version
8080
id: get_version
81-
uses: actions/github-script@v6
81+
uses: actions/github-script@v7
8282
with:
8383
script: core.setOutput('version', context.ref.replace("refs/tags/", ""))
8484

8585
- name: Create GitHub release
86-
uses: softprops/action-gh-release@v1
86+
uses: softprops/action-gh-release@v2
8787
if: startsWith(github.ref, 'refs/tags/')
8888
with:
8989
name: "sphinxcontrib-websupport ${{ steps.get_version.outputs.version }}"

.github/workflows/test.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ jobs:
3030
fail-fast: false
3131

3232
steps:
33-
- uses: actions/checkout@v3
33+
- uses: actions/checkout@v4
3434
- name: Set up Python ${{ matrix.python }}
35-
uses: actions/setup-python@v4
35+
uses: actions/setup-python@v5
3636
if: "!endsWith(matrix.python, '-dev')"
3737
with:
3838
python-version: ${{ matrix.python }}
3939
- name: Set up Python ${{ matrix.python }} (deadsnakes)
40-
uses: deadsnakes/action@v2.1.1
40+
uses: deadsnakes/action@v3.1.0
4141
if: "endsWith(matrix.python, '-dev')"
4242
with:
4343
python-version: ${{ matrix.python }}
@@ -53,9 +53,9 @@ jobs:
5353
runs-on: ubuntu-latest
5454

5555
steps:
56-
- uses: actions/checkout@v3
56+
- uses: actions/checkout@v4
5757
- name: Set up Python ${{ matrix.python }}
58-
uses: actions/setup-python@v4
58+
uses: actions/setup-python@v5
5959
with:
6060
python-version: "3"
6161
- name: Install dependencies
@@ -76,9 +76,9 @@ jobs:
7676
- mypy
7777

7878
steps:
79-
- uses: actions/checkout@v3
79+
- uses: actions/checkout@v4
8080
- name: Setup python
81-
uses: actions/setup-python@v4
81+
uses: actions/setup-python@v5
8282
with:
8383
python-version: "3"
8484

0 commit comments

Comments
 (0)