From 9378cb54750c2f8a2cfa13d296e39cbd2ea205db Mon Sep 17 00:00:00 2001 From: Josh Carmichael Date: Mon, 26 Feb 2024 15:54:35 -0500 Subject: [PATCH 1/3] update github actions versions. --- .github/workflows/long_workflow.yml | 2 +- .github/workflows/workflow.yml | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/long_workflow.yml b/.github/workflows/long_workflow.yml index 4346b93222..2ce9312991 100644 --- a/.github/workflows/long_workflow.yml +++ b/.github/workflows/long_workflow.yml @@ -11,7 +11,7 @@ jobs: runs-on: self-hosted timeout-minutes: 360 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 2b702a96c9..b47b0f09e0 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@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.8' - name: Install dependencies @@ -41,9 +41,9 @@ jobs: steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} ${{ matrix.pyenv }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -76,7 +76,7 @@ jobs: backend: default steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Conda ${{ matrix.os }} Python ${{ matrix.python-version }} uses: conda-incubator/setup-miniconda@v2 with: @@ -103,9 +103,9 @@ jobs: if: github.ref == 'refs/heads/main' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.8' - name: Install Dependencies @@ -125,7 +125,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@v3 + - uses: actions/checkout@v4 - name: Install dependencies run: | pip install -e ".[dev,gpu-12x]" @@ -164,9 +164,9 @@ jobs: needs: check runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.8' - name: Install Dependencies @@ -188,9 +188,9 @@ jobs: needs: [check, data-cache] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.8' - name: Install Dependencies From f8da4b92f20ad587b10be9ee0bf171d3e69fdb83 Mon Sep 17 00:00:00 2001 From: Josh Carmichael Date: Mon, 26 Feb 2024 16:00:06 -0500 Subject: [PATCH 2/3] Update codecov. --- .github/workflows/workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index b47b0f09e0..744f9fdbef 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -52,7 +52,7 @@ jobs: - name: Test with tox run: tox --skip-missing-interpreters false -e py${{ matrix.python-version }}-${{ matrix.pyenv }} - name: Upload Coverage to CodeCov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 conda-build: needs: check From 09d7f4949eec5731780338dcf9d7ad33bb49d8bc Mon Sep 17 00:00:00 2001 From: Josh Carmichael Date: Mon, 26 Feb 2024 16:03:18 -0500 Subject: [PATCH 3/3] update cache and artifacts actions. --- .github/workflows/workflow.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 744f9fdbef..eb2318be9c 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -174,7 +174,7 @@ jobs: python -m pip install --upgrade pip pip install -e ".[dev]" - name: Create Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/ASPIRE-data key: ${{ runner.os }}-cached-data @@ -198,7 +198,7 @@ jobs: python -m pip install --upgrade pip pip install -e ".[dev]" - name: Restore Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/ASPIRE-data key: ${{ runner.os }}-cached-data @@ -209,7 +209,7 @@ jobs: make html working-directory: ./docs - name: Archive Sphinx docs - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: sphinx-docs path: docs/build