diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8db79f8..fa97ad4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,7 +2,7 @@ name: CI on: [push, pull_request, workflow_dispatch] jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: python-version: @@ -10,15 +10,19 @@ jobs: - '3.9' - '3.10' - '3.11' - # - '3.12.0-alpha - 3.12' + - '3.12' + # - '3.13.0-alpha - 3.13' - pypy3.8 - pypy3.9 + - pypy3.10 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: + fetch-depth: 0 + persist-credentials: false submodules: true - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -34,7 +38,7 @@ jobs: echo "::set-output name=DBVERSION::$DBVERSION" id: get-db-version - name: Cache DB - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: jiten/res/*.sqlite3 key: ${{ steps.get-db-version.outputs.DBVERSION }} diff --git a/requirements.txt b/requirements.txt index 738aef1..3ee275a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -Flask==2.2.2 -click==8.1.3 -gunicorn==20.1.0 +Flask==3.0.0 +click==8.1.7 +gunicorn==21.2.0 kanjidraw==0.2.3 diff --git a/runtime.txt b/runtime.txt index 335156c..1781745 100644 --- a/runtime.txt +++ b/runtime.txt @@ -1 +1 @@ -python-3.11.0 +python-3.12.1