diff --git a/.github/workflows/auto_doc.yml b/.github/workflows/auto_doc.yml index 9a37bdb..f446309 100644 --- a/.github/workflows/auto_doc.yml +++ b/.github/workflows/auto_doc.yml @@ -1,4 +1,4 @@ -name: Documentation +name: auto-doc on: push: @@ -10,24 +10,24 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v3 + uses: actions/setup-python@v4 with: python-version: '3.11' - name: Install dependencies run: | - python3 -m pip install --upgrade pip - python3 -m pip install --upgrade -r ci_requirements_doc.txt + python -m pip install --upgrade pip + python -m pip install --upgrade -r ci_requirements_doc.txt - name: Install module run: | - python3 -m pip install . + python -m pip install . - name: Building documentation run: | cd doc make html - name: Deploying documentation - uses: JamesIves/github-pages-deploy-action@v4 + uses: JamesIves/github-pages-deploy-action@v4.4.3 with: branch: gh-pages # The branch the action should deploy to. folder: ./doc/build/html # The folder the action should deploy. diff --git a/.github/workflows/auto_release.yml b/.github/workflows/auto_release.yml index 245b31b..28b8f97 100644 --- a/.github/workflows/auto_release.yml +++ b/.github/workflows/auto_release.yml @@ -1,4 +1,4 @@ -name: Release +name: auto-release on: push: @@ -10,6 +10,8 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Release uses: softprops/action-gh-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/pytest_and_coverage.yml b/.github/workflows/pytest_and_coverage.yml index e6416ce..93ee470 100644 --- a/.github/workflows/pytest_and_coverage.yml +++ b/.github/workflows/pytest_and_coverage.yml @@ -15,9 +15,9 @@ jobs: USE_COVERAGE: ${{ matrix.runs-on == 'ubuntu-latest' && matrix.python-version == '3.10' }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Setting up OpenMP for Linux @@ -61,7 +61,7 @@ jobs: pytest compmech - name: Upload coverage to Codecov if: env.USE_COVERAGE == 'true' - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v3 with: token: ${{ secrets.CODECOV_UPLOAD_TOKEN }} fail_ci_if_error: true diff --git a/.github/workflows/pythonpublish.yml b/.github/workflows/pythonpublish.yml index 6b50954..154ebb5 100644 --- a/.github/workflows/pythonpublish.yml +++ b/.github/workflows/pythonpublish.yml @@ -1,4 +1,4 @@ -name: Deploy +name: Upload Python Package on: push: @@ -14,9 +14,9 @@ jobs: runs-on: ${{ matrix.runs-on }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v3 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Setting up OpenMP for Linux @@ -47,20 +47,20 @@ jobs: run: | python3 -m twine upload dist/*.whl - name: Publish source - if: matrix.runs-on == 'windows-latest' && matrix.python-version == '3.10' + if: matrix.runs-on == 'windows-latest' && matrix.python-version == '3.11' env: TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} run: | python3 -m twine upload dist/*.tar.gz - name: Build manylinux Python wheels - if: matrix.runs-on == 'ubuntu-latest' && matrix.python-version == '3.10' - uses: RalfG/python-wheels-manylinux-build@v0.6.0-manylinux2014_x86_64 + if: matrix.runs-on == 'ubuntu-latest' && matrix.python-version == '3.11' + uses: RalfG/python-wheels-manylinux-build@v0.7.1-manylinux2014_x86_64 with: python-versions: 'cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311' - build-requirements: 'pip cython numpy setuptools wheel twine' + build-requirements: 'pip cython numpy scipy setuptools wheel twine' - name: Publish manylinux Python wheels - if: matrix.runs-on == 'ubuntu-latest' && matrix.python-version == '3.10' + if: matrix.runs-on == 'ubuntu-latest' && matrix.python-version == '3.11' env: TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}