Skip to content

Commit 6e2a729

Browse files
authored
Merge pull request #1466 from PyThaiNLP/main
Upstreaming from v5.3 (v5.3.5)
2 parents fd089d9 + 22f2447 commit 6e2a729

21 files changed

Lines changed: 54 additions & 44 deletions

.github/workflows/bandit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ jobs:
5151
contents: read
5252
steps:
5353
- name: Checkout
54-
uses: actions/checkout@v6.0.2
54+
uses: actions/checkout@v7.0.0
5555

5656
- name: Set up Python
57-
uses: actions/setup-python@v6
57+
uses: actions/setup-python@v6.2.0
5858
with:
5959
python-version: "3.x"
6060
cache: "pip"

.github/workflows/codemeta2cff.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
contents: write
2626
steps:
2727
- name: Checkout
28-
uses: actions/checkout@v6.0.3
28+
uses: actions/checkout@v7.0.0
2929

3030
- name: Generate CITATION.cff from codemeta.json
3131
uses: caltechlibrary/codemeta2cff@99ce10831c3037a067c3d9551d455638e0b438ac #v0.3.3
@@ -37,7 +37,7 @@ jobs:
3737
printf '\n```' >> $GITHUB_STEP_SUMMARY
3838
3939
- name: Validate CITATION.cff
40-
uses: dieghernan/cff-validator@54c8e737314b948f25c0e5524a9d8ae3f39b207b #v5.0.1
40+
uses: dieghernan/cff-validator@d8f85828214016ce6976e740b6e0504c0fdc4dbb #v5.1.1
4141

4242
- name: Commit and push updated CITATION.cff
4343
uses: EndBug/add-and-commit@290ea2c423ad77ca9c62ae0f5b224379612c0321 #v10.0.0

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ jobs:
6262

6363
steps:
6464
- name: Checkout repository
65-
uses: actions/checkout@v6.0.3
65+
uses: actions/checkout@v7.0.0
6666

6767
# Initializes the CodeQL tools for scanning.
6868
- name: Initialize CodeQL
69-
uses: github/codeql-action/init@v4.36.2
69+
uses: github/codeql-action/init@v4.37.1
7070
with:
7171
languages: ${{ matrix.language }}
7272
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -77,7 +77,7 @@ jobs:
7777
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
7878
# If this step fails, then you should remove it and run the build manually (see below)
7979
- name: Autobuild
80-
uses: github/codeql-action/autobuild@v4.36.2
80+
uses: github/codeql-action/autobuild@v4.37.1
8181

8282
# ℹ️ Command-line programs to run using the OS shell.
8383
# 📚 https://git.io/JvXDl
@@ -91,4 +91,4 @@ jobs:
9191
# make release
9292

9393
- name: Perform CodeQL Analysis
94-
uses: github/codeql-action/analyze@v4.36.2
94+
uses: github/codeql-action/analyze@v4.37.1

.github/workflows/corpus.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ jobs:
3636

3737
steps:
3838
- name: Checkout
39-
uses: actions/checkout@v6.0.3
39+
uses: actions/checkout@v7.0.0
4040

4141
- name: Set up Python
42-
uses: actions/setup-python@v6
42+
uses: actions/setup-python@v6.2.0
4343
with:
4444
python-version: "3.13"
4545
cache: "pip"

.github/workflows/deploy-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ jobs:
2424
runs-on: ubuntu-latest
2525
steps:
2626
- name: Checkout
27-
uses: actions/checkout@v6.0.3
27+
uses: actions/checkout@v7.0.0
2828
- name: Set up Python
29-
uses: actions/setup-python@v6
29+
uses: actions/setup-python@v6.2.0
3030
with:
3131
python-version: "3.12"
3232
- name: Install build tools and doc build tools

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ jobs:
4343
runs-on: ubuntu-latest
4444
steps:
4545
- name: Checkout
46-
uses: actions/checkout@v6.0.3
46+
uses: actions/checkout@v7.0.0
4747
- name: Ruff
48-
uses: astral-sh/ruff-action@v3
48+
uses: astral-sh/ruff-action@v4.1.0
4949
with:
5050
src: "./pythainlp ./tests ./examples"
5151
args: check --verbose --config pyproject.toml

.github/workflows/markdownlint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ jobs:
2424
runs-on: ubuntu-latest
2525

2626
steps:
27-
- uses: actions/checkout@v6.0.3
27+
- uses: actions/checkout@v7.0.0
2828
with:
2929
fetch-depth: 0
3030

31-
- uses: DavidAnson/markdownlint-cli2-action@v23.2.0
31+
- uses: DavidAnson/markdownlint-cli2-action@v24.0.0
3232
with:
3333
globs: |
3434
**/*.md

.github/workflows/mypy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ jobs:
4646
contents: read
4747
steps:
4848
- name: Checkout
49-
uses: actions/checkout@v6.0.3
49+
uses: actions/checkout@v7.0.0
5050

5151
- name: Set up Python
52-
uses: actions/setup-python@v6
52+
uses: actions/setup-python@v6.2.0
5353
with:
5454
python-version: "3.9"
5555
cache: "pip"

.github/workflows/publish-versioned-docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,26 +31,26 @@ jobs:
3131
run: echo "version=${GITHUB_REF_NAME#v}" >> "$GITHUB_OUTPUT"
3232

3333
- name: Checkout pythainlp (for scripts)
34-
uses: actions/checkout@v6.0.3
34+
uses: actions/checkout@v7.0.0
3535
with:
3636
path: pythainlp
3737

3838
- name: Checkout dev-docs repository
39-
uses: actions/checkout@v6.0.3
39+
uses: actions/checkout@v7.0.0
4040
with:
4141
repository: PyThaiNLP/dev-docs
4242
token: ${{ secrets.PERSONAL_TOKEN }}
4343
path: dev-docs
4444

4545
- name: Checkout docs repository
46-
uses: actions/checkout@v6.0.3
46+
uses: actions/checkout@v7.0.0
4747
with:
4848
repository: PyThaiNLP/docs
4949
token: ${{ secrets.PERSONAL_TOKEN }}
5050
path: docs
5151

5252
- name: Set up Python
53-
uses: actions/setup-python@v6
53+
uses: actions/setup-python@v6.2.0
5454
with:
5555
python-version: "3.12"
5656

.github/workflows/pypi-publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
build: ${{ steps.check_build_trigger.outputs.build }}
5353
steps:
5454
- name: Checkout source code
55-
uses: actions/checkout@v6.0.3
55+
uses: actions/checkout@v7.0.0
5656
with:
5757
ref: ${{ github.event.pull_request.head.sha }}
5858
- id: check_build_trigger
@@ -71,10 +71,10 @@ jobs:
7171

7272
steps:
7373
- name: Checkout
74-
uses: actions/checkout@v6.0.3
74+
uses: actions/checkout@v7.0.0
7575

7676
- name: Set up Python ${{ matrix.python-version }}
77-
uses: actions/setup-python@v6
77+
uses: actions/setup-python@v6.2.0
7878
with:
7979
python-version: ${{ matrix.python-version }}
8080

@@ -100,7 +100,7 @@ jobs:
100100
if: github.event_name == 'release' && github.event.action == 'published'
101101
steps:
102102
- name: Retrieve distributions
103-
uses: actions/download-artifact@v7
103+
uses: actions/download-artifact@v8
104104
with:
105105
name: artifact
106106
path: dist

0 commit comments

Comments
 (0)