Skip to content

Commit

Permalink
Ensure we're using Python 3.10 everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
SquidDev committed Sep 1, 2022
1 parent ee5a554 commit 95e3f96
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8'
python-version: '3.10'

- name: Install dependencies
run: |
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/update-dns.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ name: Update DNS
on:
push:
branches:
- not-run-right-now
- dev

jobs:
make_doc:
name: Update DNS
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v1

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8'
python-version: '3.10'

- name: Install dependencies
run: |
Expand All @@ -27,4 +27,5 @@ jobs:
- name: Update DNS
run: poetry run python -m dns.sync
env:
CF_API_KEY: ${{ secrets.CF_API_KEY }}
PORKBUN_API_KEY: ${{ secrets.PORKBUN_API_KEY }}
PORKBUN_API_SECRET: ${{ secrets.PORKBUN_API_SECRET }}
2 changes: 1 addition & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[mypy]
python_version = 3.9
python_version = 3.10
4 changes: 2 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = ""
authors = ["Jonathan Coates <git@squiddev.cc>"]

[tool.poetry.dependencies]
python = "^3.9"
python = "^3.10"
requests = "^2.28.1"

[tool.poetry.dev-dependencies]
Expand Down

0 comments on commit 95e3f96

Please sign in to comment.