Skip to content

Commit

Permalink
Add Codespell job to GitHub Actions and prettify yaml files
Browse files Browse the repository at this point in the history
YAML files prettified by `prettier -w .github/`
  • Loading branch information
kianmeng authored and jlaine committed Oct 18, 2022
1 parent 91e0cc0 commit 444be09
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/issues.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: issues
on:
schedule:
- cron: '30 1 * * *'
- cron: "30 1 * * *"

jobs:
stale:
Expand All @@ -10,7 +10,7 @@ jobs:
- uses: actions/stale@v5
with:
stale-issue-label: stale
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'
stale-issue-message: "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions."
days-before-stale: 120
days-before-close: 14
days-before-pr-stale: -1
Expand Down
22 changes: 16 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: tests
on: [push, pull_request]

jobs:

docs:
runs-on: ubuntu-latest
steps:
Expand All @@ -13,7 +12,7 @@ jobs:
python-version: 3.7
- name: Build documentation
env:
READTHEDOCS: 'True'
READTHEDOCS: "True"
run: |
pip install . -r requirements/doc.txt
make -C docs html SPHINXOPTS=-W
Expand All @@ -34,17 +33,28 @@ jobs:
black --check --diff examples src tests
mypy src tests
codespell:
name: Check for spelling errors
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: codespell-project/actions-codespell@master
with:
check_filenames: true
check_hidden: false
ignore_words_list: quicly

test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python:
- '3.10'
- '3.9'
- '3.8'
- '3.7'
- "3.10"
- "3.9"
- "3.8"
- "3.7"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
Expand Down

0 comments on commit 444be09

Please sign in to comment.