-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update lint to not install dependencies
- Loading branch information
1 parent
3ebbdb1
commit 482f947
Showing
7 changed files
with
24 additions
and
68 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,19 @@ | ||
name: Renovate | ||
on: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
- cron: "0 * * * *" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
renovate: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3.3.0 | ||
uses: actions/checkout@v4 | ||
- name: Self-hosted Renovate | ||
uses: renovatebot/github-action@v36.0.0 | ||
uses: renovatebot/github-action@v40.1.0 | ||
env: | ||
RENOVATE_REPOSITORIES: ${{ github.repository }} | ||
RENOVATE_ONBOARDING: false | ||
with: | ||
configurationFile: .github/renovate.json | ||
token: ${{ secrets.RENOVATE_TOKEN }} | ||
# token: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ inputs: | |
python-version: | ||
required: false | ||
description: Python version to install on the github runner. | ||
default: "" | ||
default: "3.12" | ||
|
||
runs: | ||
using: composite | ||
|
@@ -26,30 +26,11 @@ runs: | |
if: inputs.checkout-repo == 'true' | ||
with: | ||
fetch-depth: 0 | ||
- name: Install poetry | ||
if: hashFiles('pyproject.toml') != '' | ||
shell: bash | ||
run: pipx install poetry | ||
- name: Setup python | ||
# this will use by default the .python-version of your repo | ||
if: hashFiles('poetry.lock') != '' | ||
uses: actions/setup-python@v4 | ||
with: | ||
cache: "poetry" | ||
python-version: ${{ inputs.python-version }} | ||
- name: Setup python | ||
# this will use by default the .python-version of your repo | ||
if: hashFiles('poetry.lock') == '' | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ inputs.python-version }} | ||
- name: Install poetry dependencies | ||
if: hashFiles('pyproject.toml') != '' | ||
shell: bash | ||
run: | | ||
poetry install | ||
- name: Install pip dependencies | ||
if: hashFiles('pyproject.toml') == '' | ||
shell: bash | ||
run: pip install -e . | ||
- uses: pre-commit/[email protected] | ||
with: | ||
extra_args: ${{ inputs.extra-args }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": ["config:base", ":enablePreCommit"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters