diff --git a/.github/workflows/long_workflow.yml b/.github/workflows/long_workflow.yml index 29bf29bf9c..2d1000ce28 100644 --- a/.github/workflows/long_workflow.yml +++ b/.github/workflows/long_workflow.yml @@ -11,7 +11,7 @@ jobs: if: ${{ github.event_name == 'pull_request' && github.event.pull_request.draft == false }} timeout-minutes: 360 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/scheduled_workflow.yml b/.github/workflows/scheduled_workflow.yml index 77a789597e..ae45542f4e 100644 --- a/.github/workflows/scheduled_workflow.yml +++ b/.github/workflows/scheduled_workflow.yml @@ -10,11 +10,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: ref: develop - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: '3.10' - name: Install Dependencies diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index a1159460fc..700d78428d 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -10,9 +10,9 @@ jobs: check: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: '3.10' - name: Install dependencies @@ -27,9 +27,9 @@ jobs: outputs: cache_hash: ${{ steps.compute-cache-hash.outputs.cache_hash }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Setup Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: '3.10' - name: Install Dependencies @@ -37,7 +37,7 @@ jobs: python -m pip install --upgrade pip pip install -e ".[dev]" - name: Restore Cache - uses: actions/cache@v4 + uses: actions/cache@v5 with: key: cached-data-${{ hashFiles('**/registry.py', '**/*workflow.yml') }} restore-keys: | @@ -75,7 +75,7 @@ jobs: ls -lhR .github_cache/ASPIRE-data [ -f config.yaml ] - name: Save Cache - uses: actions/cache@v4 + uses: actions/cache@v5 with: key: cached-data-${{ hashFiles('**/registry.py', '**/*workflow.yml') }} path: .github_cache/ASPIRE-data @@ -100,9 +100,9 @@ jobs: pyenv: pip,docs steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Set up Python ${{ matrix.python-version }} ${{ matrix.pyenv }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -111,7 +111,7 @@ jobs: # Optional packages pip install pyfftw # `test_fft` runs for pyfftw when installed - name: Restore Cache - uses: actions/cache@v4 + uses: actions/cache@v5 with: key: cached-data-${{ hashFiles('**/registry.py', '**/*workflow.yml') }} restore-keys: | @@ -142,7 +142,7 @@ jobs: exit 1 fi - name: Upload Coverage to CodeCov - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v6 with: token: ${{ secrets.CODECOV_TOKEN }} @@ -175,9 +175,9 @@ jobs: backend: win64 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Set up Conda ${{ matrix.os }} Python ${{ matrix.python-version }} - uses: conda-incubator/setup-miniconda@v2.3.0 + uses: conda-incubator/setup-miniconda@v4 with: miniconda-version: "latest" auto-update-conda: true @@ -193,7 +193,7 @@ jobs: pip freeze python -c "import numpy; numpy.show_config()" - name: Restore Cache - uses: actions/cache@v4 + uses: actions/cache@v5 with: key: cached-data-${{ hashFiles('**/registry.py', '**/*workflow.yml') }} restore-keys: | @@ -216,9 +216,9 @@ jobs: if: github.ref == 'refs/heads/main' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Setup Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: '3.10' - name: Install Dependencies @@ -238,7 +238,7 @@ jobs: # Run on every code push, but only on review ready PRs if: ${{ github.event_name == 'push' || github.event.pull_request.draft == false }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Install dependencies run: | pip install -e ".[dev,gpu-13x]" @@ -271,7 +271,7 @@ jobs: run: | ASPIREDIR=${{ env.WORK_DIR }} PYTHONWARNINGS=error python -m pytest --durations=50 --cov=aspire --cov-report=xml - name: Upload Coverage to CodeCov - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v6 with: token: ${{ secrets.CODECOV_TOKEN }} - name: Cleanup @@ -282,9 +282,9 @@ jobs: needs: [check, data-cache] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Setup Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: '3.10' - name: Install Dependencies @@ -292,7 +292,7 @@ jobs: python -m pip install --upgrade pip pip install -e ".[dev]" - name: Restore Cache - uses: actions/cache@v4 + uses: actions/cache@v5 with: key: cached-data-${{ hashFiles('**/registry.py', '**/*workflow.yml') }} restore-keys: | @@ -311,7 +311,7 @@ jobs: make html working-directory: ./docs - name: Archive Sphinx docs - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: sphinx-docs path: docs/build @@ -333,8 +333,8 @@ jobs: # Run on every code push, but only on review ready PRs if: ${{ github.event_name == 'push' || github.event.pull_request.draft == false }} steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 + - uses: actions/checkout@v5 + - uses: actions/setup-python@v6 with: python-version: '3.13' - name: Complete Install and Log Environment @@ -343,7 +343,7 @@ jobs: pip install -e ".[dev]" # install aspire pip freeze - name: Restore Cache - uses: actions/cache@v4 + uses: actions/cache@v5 with: key: cached-data-${{ hashFiles('**/registry.py', '**/*workflow.yml') }} restore-keys: |