diff --git a/.github/workflows/antivirus.yml b/.github/workflows/antivirus.yml index 25b1d9bf84..b2a306e249 100644 --- a/.github/workflows/antivirus.yml +++ b/.github/workflows/antivirus.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest name: AV scan steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Git AV Scan uses: djdefi/gitavscan@main with: diff --git a/.github/workflows/build_docs.yml b/.github/workflows/build_docs.yml index 75eaddc9c3..263eb4f5f9 100644 --- a/.github/workflows/build_docs.yml +++ b/.github/workflows/build_docs.yml @@ -16,7 +16,7 @@ jobs: run: shell: bash -l {0} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 # Create environment using micromamba - name: Install Conda environment with Micromamba @@ -41,7 +41,7 @@ jobs: make html # Push the book's HTML to github-pages - name: GitHub Pages action - uses: peaceiris/actions-gh-pages@v3.8.0 + uses: peaceiris/actions-gh-pages@v3.9.3 if: github.ref == 'refs/heads/main' with: github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dec3ebe0f7..8eb6d60578 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: os: [macos, ubuntu, windows] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 # Install dependencies - name: Setup Conda Environment @@ -63,7 +63,7 @@ jobs: python -m pytest -v --cov=./ --cov-report=xml - name: Upload code coverage to Codecov - uses: codecov/codecov-action@v2.1.0 + uses: codecov/codecov-action@v4.1.0 with: file: ./coverage.xml flags: unittests diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index ee8838704e..e5ff8949ea 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -41,7 +41,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index 88ebb91427..cd7d332a71 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -23,11 +23,11 @@ jobs: if: ${{ needs.pre-job.outputs.should_skip != 'true' }} steps: - name: Cancel Previous Runs - uses: styfle/cancel-workflow-action@0.9.1 + uses: styfle/cancel-workflow-action@0.12.1 with: access_token: ${{ github.token }} - - uses: actions/checkout@v2 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: '3.10' - - uses: pre-commit/action@v3.0.0 + - uses: pre-commit/action@v3.0.1 diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index f0a315583a..3f00ba2339 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -34,7 +34,10 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 + + - name: Install python + uses: actions/setup-python@v3 - name: Fetch all history for all tags and branches run: | @@ -54,7 +57,7 @@ jobs: CIBW_BUILD_VERBOSITY: 1 CIBW_ENVIRONMENT: PIP_ONLY_BINARY=":all:" - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: wheels path: ./dist/*.whl @@ -64,13 +67,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build sdist run: pipx run build --sdist - name: Upload sdist - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: sdist path: dist/*.tar.gz @@ -83,19 +86,19 @@ jobs: if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') steps: - name: Download sdist - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: sdist path: dist - name: Download wheels - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: wheels path: dist - name: Publish to PyPI - uses: pypa/gh-action-pypi-publish@v1.4.2 + uses: pypa/gh-action-pypi-publish@v1.8.12 with: user: __token__ password: ${{ secrets.PYPI_TOKEN }} diff --git a/setup.py b/setup.py index 6c4851be6d..4dc2b0da48 100644 --- a/setup.py +++ b/setup.py @@ -264,7 +264,7 @@ def check_rsl_path(rsl_lib_path, rsl_include_path): scripts=SCRIPTS, python_requires=">=3.9", install_requires=requirements, - setup_requires="setuptools_scm", + setup_requires=["setuptools_scm", "setuptools"], license=LICENSE, platforms=PLATFORMS, classifiers=CLASSIFIERS,