Skip to content

Commit 69187ed

Browse files
committed
chore: update workflow scripts
1 parent 28dba7f commit 69187ed

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

.github/workflows/pylint.yml

Lines changed: 7 additions & 3 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 2 additions & 2 deletions
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/**') }}

0 commit comments

Comments
 (0)