aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorGravatar Numerlor <[email protected]>2022-09-18 19:10:24 +0200
committerGravatar Numerlor <[email protected]>2022-09-18 19:14:08 +0200
commitb6f033e7f5fcdb827e7fed29a4ed21108e54a414 (patch)
tree99be74f8d90217e8d2dbeba442afce7ea04d5de6 /.github/workflows
parentensure tuples from pos arg and kwarg tuples are differentiated (diff)
parentMerge pull request #138 from python-discord/bump-d.py (diff)
Merge remote-tracking branch 'upstream/main' into no-duplicate-deco
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/docs.yaml17
-rw-r--r--.github/workflows/lint-test.yaml10
2 files changed, 8 insertions, 19 deletions
diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml
index 5254d524..42c9e742 100644
--- a/.github/workflows/docs.yaml
+++ b/.github/workflows/docs.yaml
@@ -11,7 +11,6 @@ concurrency:
group: docs-deployment-${{ github.ref }}
cancel-in-progress: true
-
jobs:
latest-build:
# We only need to verify that the docs build with no warnings here
@@ -22,16 +21,12 @@ jobs:
- uses: actions/checkout@v2
- name: Install Python Dependencies
- uses: HassanAbouelela/actions/setup-python@setup-python_v1.1.0
+ uses: HassanAbouelela/actions/setup-python@setup-python_v1.3.1
with:
dev: true
- python_version: 3.9
+ python_version: "3.10"
install_args: "--extras async-rediscache"
- # Undeclared dependency for `releases`... whoops
- # https://github.com/bitprophet/releases/pull/82
- - run: pip install six
-
- name: Generate HTML Site
run: sphinx-build -nW -j auto -b html docs docs/build
@@ -51,16 +46,12 @@ jobs:
fetch-depth: 0 # We need to check out the entire repository to find all tags
- name: Install Python Dependencies
- uses: HassanAbouelela/actions/setup-python@setup-python_v1.1.0
+ uses: HassanAbouelela/actions/setup-python@setup-python_v1.3.1
with:
dev: true
- python_version: 3.9
+ python_version: "3.10"
install_args: "--extras async-rediscache"
- # Undeclared dependency for `releases`... whoops
- # https://github.com/bitprophet/releases/pull/82
- - run: pip install six
-
- name: Build All Doc Versions
run: sphinx-multiversion docs docs/build -n -j auto
env:
diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml
index a51623cb..e9821677 100644
--- a/.github/workflows/lint-test.yaml
+++ b/.github/workflows/lint-test.yaml
@@ -14,21 +14,19 @@ jobs:
lint:
name: Run Linting & Test Suites
runs-on: ubuntu-latest
-
steps:
- name: Install Python Dependencies
- uses: HassanAbouelela/actions/setup-python@setup-python_v1.1.0
+ uses: HassanAbouelela/actions/setup-python@setup-python_v1.3.1
with:
# Set dev=true to run pre-commit which is a dev dependency
dev: true
- python_version: 3.9
+ python_version: "3.10"
install_args: "--extras async-rediscache"
# We will not run `flake8` here, as we will use a separate flake8
- # action. As pre-commit does not support user installs, we set
- # PIP_USER=0 to not do a user install.
+ # action.
- name: Run pre-commit hooks
- run: export PIP_USER=0; SKIP=flake8 pre-commit run --all-files
+ run: SKIP=flake8 pre-commit run --all-files
# Run flake8 and have it format the linting errors in the format of
# the GitHub Workflow command to register error annotations. This