Skip to content

Commit 5ea9cac

Browse files
committed
chore: update workflow scripts
1 parent 28dba7f commit 5ea9cac

File tree

5 files changed

+90
-7
lines changed

5 files changed

+90
-7
lines changed

.github/workflows/pylint.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,17 @@ jobs:
88
build:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@v4
1212
- name: Install uv
1313
uses: astral-sh/setup-uv@v3
1414
- name: Install dependencies
15-
run: uv sync --frozen
15+
run: |
16+
cd scrapegraph-py
17+
uv sync --frozen
1618
- name: Analysing the code with pylint
17-
run: uv run poe pylint-ci
19+
run: |
20+
cd scrapegraph-py
21+
uv run poe pylint-ci
1822
- name: Check Pylint score
1923
run: |
2024
cd scrapegraph-py

.github/workflows/python-publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v4
1717
- name: Set up Python
1818
uses: actions/setup-python@v5
1919
with:

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
id: build_cache
3434
if: success()
3535
- name: Cache build
36-
uses: actions/cache@v2
36+
uses: actions/cache@v4
3737
with:
3838
path: scrapegraph-py/dist
3939
key: ${{ runner.os }}-build-${{ hashFiles('scrapegraph-py/dist/**') }}
@@ -67,7 +67,7 @@ jobs:
6767
cd ./scrapegraph-py
6868
uv sync
6969
- name: Restore build artifacts
70-
uses: actions/cache@v2
70+
uses: actions/cache@v4
7171
with:
7272
path: ./scrapegraph-py/dist
7373
key: ${{ runner.os }}-build-${{ hashFiles('./scrapegraph-py/dist/**') }}

scrapegraph-py/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,5 @@ dev-dependencies = [
5555
"pytest==8.0.0",
5656
"pytest-mock==3.14.0",
5757
"pylint>=3.2.5",
58+
"poethepoet>=0.31.1",
5859
]

scrapegraph-py/uv.lock

+79-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)