Merge pull request #831 from consideRatio/pr/add-dependabot-for-gha

ci: add dependabot for github actions and bump them now
This commit is contained in:
Erik Sundell
2022-09-09 22:48:43 +02:00
committed by GitHub
3 changed files with 21 additions and 5 deletions

16
.github/dependabot.yml vendored Normal file
View File

@@ -0,0 +1,16 @@
# dependabot.yml reference: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
#
# Notes:
# - Status and logs from dependabot are provided at
# https://github.com/jupyterhub/the-littlest-jupyterhub/network/updates.
# - YAML anchors are not supported here or in GitHub Workflows.
#
version: 2
updates:
# Maintain dependencies in our GitHub Workflows
- package-ecosystem: github-actions
directory: "/" # This should be / rather than .github/workflows
schedule:
interval: weekly
time: "05:00"
timezone: "Etc/UTC"

View File

@@ -95,8 +95,8 @@ jobs:
matrix: ${{ fromJson(needs.decide-on-test-jobs-to-run.outputs.matrix) }} matrix: ${{ fromJson(needs.decide-on-test-jobs-to-run.outputs.matrix) }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- uses: actions/setup-python@v2 - uses: actions/setup-python@v4
with: with:
python-version: "${{ matrix.python_version }}" python-version: "${{ matrix.python_version }}"

View File

@@ -53,8 +53,8 @@ jobs:
python_version: "3.10" python_version: "3.10"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- uses: actions/setup-python@v2 - uses: actions/setup-python@v4
with: with:
python-version: "${{ matrix.python_version }}" python-version: "${{ matrix.python_version }}"
@@ -74,7 +74,7 @@ jobs:
# completion. Make sure to update the key to bust the cache # completion. Make sure to update the key to bust the cache
# properly if you make a change that should influence it. # properly if you make a change that should influence it.
- name: Load cached Python dependencies - name: Load cached Python dependencies
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: /srv/venv/ path: /srv/venv/
key: >- key: >-