update actions
This commit is contained in:
parent
f98274f0ec
commit
98e0bc749c
6 changed files with 27 additions and 12 deletions
3
.github/dependabot.yml
vendored
3
.github/dependabot.yml
vendored
|
|
@ -5,7 +5,8 @@
|
||||||
|
|
||||||
version: 2
|
version: 2
|
||||||
updates:
|
updates:
|
||||||
- package-ecosystem: "pip" # See documentation for possible values
|
- package-ecosystem: "github-actions" # See documentation for possible values
|
||||||
directory: "/" # Location of package manifests
|
directory: "/" # Location of package manifests
|
||||||
schedule:
|
schedule:
|
||||||
interval: "weekly"
|
interval: "weekly"
|
||||||
|
|
||||||
|
|
|
||||||
8
.github/workflows/coverage.yml
vendored
8
.github/workflows/coverage.yml
vendored
|
|
@ -20,13 +20,13 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
uses: actions/setup-python@master
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: 3.x
|
python-version: 3.x
|
||||||
- name: Setup PDM
|
- name: Setup PDM
|
||||||
uses: pdm-project/setup-pdm@v3
|
uses: pdm-project/setup-pdm@v4
|
||||||
- name: create-json
|
- name: create-json
|
||||||
uses: jsdaniell/create-json@v1.2.2
|
uses: jsdaniell/create-json@v1.2.3
|
||||||
with:
|
with:
|
||||||
name: "oauth.json"
|
name: "oauth.json"
|
||||||
dir: "tests/"
|
dir: "tests/"
|
||||||
|
|
@ -45,7 +45,7 @@ jobs:
|
||||||
(echo "===== tests attempt: 2 ====" && pdm run pytest)
|
(echo "===== tests attempt: 2 ====" && pdm run pytest)
|
||||||
pdm run coverage xml
|
pdm run coverage xml
|
||||||
- name: Upload coverage to Codecov
|
- name: Upload coverage to Codecov
|
||||||
uses: codecov/codecov-action@v3
|
uses: codecov/codecov-action@v4
|
||||||
with:
|
with:
|
||||||
file: coverage.xml
|
file: coverage.xml
|
||||||
flags: unittests
|
flags: unittests
|
||||||
|
|
|
||||||
4
.github/workflows/docsbuild.yml
vendored
4
.github/workflows/docsbuild.yml
vendored
|
|
@ -18,9 +18,9 @@ jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v3
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
|
|
||||||
6
.github/workflows/lint.yml
vendored
6
.github/workflows/lint.yml
vendored
|
|
@ -12,7 +12,7 @@ jobs:
|
||||||
ruff:
|
ruff:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- uses: chartboost/ruff-action@v1
|
- uses: chartboost/ruff-action@v1
|
||||||
- uses: chartboost/ruff-action@v1
|
- uses: chartboost/ruff-action@v1
|
||||||
with:
|
with:
|
||||||
|
|
@ -20,8 +20,8 @@ jobs:
|
||||||
mypy:
|
mypy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-python@v3
|
- uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: "3.8"
|
python-version: "3.8"
|
||||||
- run: pip install mypy==1.8.0
|
- run: pip install mypy==1.8.0
|
||||||
|
|
|
||||||
14
.github/workflows/pdm.yml
vendored
Normal file
14
.github/workflows/pdm.yml
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
name: Update dependencies
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "5 3 * * 1"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
update-dependencies:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v5
|
||||||
|
|
||||||
|
- name: Update dependencies
|
||||||
|
uses: pdm-project/update-deps-action@main
|
||||||
4
.github/workflows/pythonpublish.yml
vendored
4
.github/workflows/pythonpublish.yml
vendored
|
|
@ -14,9 +14,9 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v3
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue