diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index cf7a39f..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,11 +0,0 @@ -# To get started with Dependabot version updates, you'll need to specify which -# package ecosystems to update and where the package manifests are located. -# Please see the documentation for all configuration options: -# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates - -version: 2 -updates: - - package-ecosystem: "pip" # See documentation for possible values - directory: "/" # Location of package manifests - schedule: - interval: "daily" diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 47a22a1..a0eb670 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -127,7 +127,7 @@ jobs: if: ${{ always() }} - name: "Publish coverage results to Codecov" - uses: "codecov/codecov-action@v1.0.13" + uses: "codecov/codecov-action@v3.1.1" with: file: "coverage-${{ matrix.python-version }}.xml" fail_ci_if_error: "true" diff --git a/.github/workflows/renovate_linting.yml b/.github/workflows/renovate_linting.yml new file mode 100644 index 0000000..ce4c54b --- /dev/null +++ b/.github/workflows/renovate_linting.yml @@ -0,0 +1,13 @@ +name: Renovate Config Linting +on: [pull_request] + +jobs: + renovate: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: 🧼 lint renovate config # Validates changes to renovate.json config file + uses: suzuki-shunsuke/github-action-renovate-config-validator@v0.1.2 + with: + config_file_path: 'renovate.json' + diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..f0b866c --- /dev/null +++ b/renovate.json @@ -0,0 +1,26 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "description": "Renovate configuration for little-cheesemonger", + "extends": [ + "config:base", + ":rebaseStalePrs", + ":gitSignOff", + "schedule:earlyMondays" + ], + "enabledManagers": [ + "github-actions", + "dockerfile", + "pip_requirements", + "poetry" + ], + "packageRules": [ + { + "matchPackageNames": "pip_requirements", + "matchFiles": [ + "requirements.txt", + "requirements-test.txt" + ] + } + ] +} +