Skip to content

Commit

Permalink
ci: update github actions and test py311
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed Jan 4, 2023
1 parent c23461d commit 51cb36d
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ env:

jobs:
linkcheck:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: "3.11"

- name: Install dependencies
run: |
Expand All @@ -41,17 +41,17 @@ jobs:
make linkcheck
build-and-publish:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

permissions:
# required to push to the gh-pages branch
contents: write

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: "3.11"

- name: Install dependencies
run: |
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ on:

jobs:
build-release:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.8"
- uses: actions/setup-node@v2
python-version: "3.11"
- uses: actions/setup-node@v3
with:
node-version: "16"
node-version: "18"

- name: install build package
run: |
Expand All @@ -43,7 +43,7 @@ jobs:
ls -l dist
- name: publish to pypi
uses: pypa/gh-action-pypi-publish@v1.4.1
uses: pypa/gh-action-pypi-publish@v1.6.4
if: startsWith(github.ref, 'refs/tags/')
with:
user: __token__
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,21 @@ on:

jobs:
test:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
timeout-minutes: 10

strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
node-version: ["16"]

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "${{ matrix.python-version }}"
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: "${{ matrix.node-version }}"

Expand Down

0 comments on commit 51cb36d

Please sign in to comment.