diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 5bcf7d4..6f671c0 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -13,13 +13,13 @@ jobs: strategy: matrix: os: [ ubuntu-latest ] - python-version: [ '3.8' ] + python-version: [ '3.10' ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} diff --git a/.github/workflows/flake8.yml b/.github/workflows/flake8.yml deleted file mode 100644 index f383de9..0000000 --- a/.github/workflows/flake8.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: Flake8 - -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - - name: Set up Python 3.8 - uses: actions/setup-python@v4 - with: - python-version: '3.8' - - - name: Install pre-commit hooks - run: | - pip install pre-commit - pre-commit install --install-hooks - - - name: Code style check via pre-commit - run: | - pre-commit run --all-files diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index f093325..1c47b46 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -12,10 +12,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.10 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.10' diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3bfc0cf..f88f60e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,17 +17,17 @@ jobs: group: ${{ github.workflow }}-${{ github.ref }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 2 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.10' - name: Set up Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: '16.0' @@ -55,7 +55,7 @@ jobs: python -m sphinx docs/ build/html -b html -D katex_prerender=1 - name: Deploy documentation to Github pages - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./build/html @@ -77,7 +77,7 @@ jobs: - name: Create release on Github id: create_release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 51ef2a2..62e1adb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,22 +13,22 @@ jobs: strategy: matrix: os: [ ubuntu-latest, macOS-latest, windows-latest ] - python-version: [ '3.8' ] + python-version: [ '3.10' ] include: - os: ubuntu-latest - python-version: '3.9' + python-version: '3.8' - os: ubuntu-latest - python-version: '3.10' + python-version: '3.9' - os: ubuntu-latest python-version: '3.11' - os: ubuntu-latest python-version: '3.12' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} @@ -44,7 +44,7 @@ jobs: python -m pytest - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} file: ./coverage.xml