Skip to content

Commit

Permalink
chore: configure renovate & update dev deps (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored May 23, 2024
1 parent eb91214 commit b7e4622
Show file tree
Hide file tree
Showing 9 changed files with 37 additions and 28 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check_version_availability.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
ref: "${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.sha || '' }}"

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.8"

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
token: ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }}

- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
Expand All @@ -46,7 +46,7 @@ jobs:
git push
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.8

Expand All @@ -61,15 +61,15 @@ jobs:
working-directory: ./website

- name: Set up GitHub Pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v5

- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3
with:
path: ./website/build

- name: Deploy artifact to GitHub Pages
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4

- name: Invalidate CloudFront cache
run: gh workflow run invalidate.yaml --repo apify/apify-docs-private
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
ref: "${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.sha || '' }}"

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint_and_type_checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
ref: "${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.sha || '' }}"

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.8

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
ref: "${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.sha || '' }}"

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DIRS_WITH_CODE = src tests scripts
INTEGRATION_TESTS_CONCURRENCY = 1

clean:
rm -rf build dist .mypy_cache .pytest_cache src/*.egg-info __pycache__
rm -rf build dist .mypy_cache .pytest_cache .ruff_cache src/*.egg-info __pycache__

install-dev:
python3 -m pip install --upgrade pip
Expand Down
34 changes: 17 additions & 17 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,23 +42,23 @@ dependencies = [

[project.optional-dependencies]
dev = [
"build ~= 1.0.3",
"filelock ~= 3.12.4",
"mypy ~= 1.7.1",
"pre-commit ~= 3.4.0",
"pydoc-markdown ~= 4.8.2",
"pytest ~= 7.4.2",
"pytest-asyncio ~= 0.21.0",
"pytest-cov ~= 4.1.0",
"pytest-only ~= 2.0.0",
"pytest-timeout ~= 2.2.0",
"pytest-xdist ~= 3.3.1",
"respx ~= 0.20.1",
"ruff ~= 0.1.13",
"twine ~= 4.0.2",
"types-aiofiles ~= 23.2.0.0",
"types-colorama ~= 0.4.15.12",
"types-psutil ~= 5.9.5.17",
"build ~= 1.2.0",
"filelock ~= 3.14.0",
"mypy ~= 1.10.0",
"pre-commit ~= 3.5.0",
"pydoc-markdown ~= 4.8.0",
"pytest ~= 8.2.0",
"pytest-asyncio ~= 0.23.0",
"pytest-cov ~= 5.0.0",
"pytest-only ~= 2.1.0",
"pytest-timeout ~= 2.3.0",
"pytest-xdist ~= 3.6.0",
"respx ~= 0.21.0",
"ruff ~= 0.4.0",
"twine ~= 5.1.0",
"types-aiofiles ~= 23.2.0.20240403",
"types-colorama ~= 0.4.15.20240311",
"types-psutil ~= 5.9.5.20240516",
]
scrapy = [
"scrapy >= 2.11.0",
Expand Down
9 changes: 9 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"ignorePaths": [
"website/**"
]
}

0 comments on commit b7e4622

Please sign in to comment.