diff --git a/.github/workflows/execute-nbs.yaml b/.github/workflows/execute-nbs.yaml index bb5b1dc..51f1497 100644 --- a/.github/workflows/execute-nbs.yaml +++ b/.github/workflows/execute-nbs.yaml @@ -21,14 +21,14 @@ jobs: permissions: contents: write # Allow GH actions to push changes to repo steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: repository: ${{ github.event.pull_request.head.repo.full_name }} ref: ${{ github.head_ref }} filter: blob:none fetch-depth: 0 - name: Cache conda - uses: actions/cache@v5 + uses: actions/cache@v6 env: # Increase this value to reset cache if env file has not changed CACHE_NUMBER: 0 @@ -36,14 +36,14 @@ jobs: path: ~/conda_pkgs_dir key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('environment.yml') }} - name: Cache notebooks - uses: actions/cache@v5 + uses: actions/cache@v6 env: # Increase this value to reset cache if env file has not changed CACHE_NUMBER: 0 with: path: .jupyter_cache key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('environment.yml') }} - - uses: conda-incubator/setup-miniconda@v3 + - uses: conda-incubator/setup-miniconda@v4 with: activate-environment: tutorials channel-priority: flexible diff --git a/.github/workflows/make-tutorials-json.yml b/.github/workflows/make-tutorials-json.yml index 37519e7..f096c6d 100644 --- a/.github/workflows/make-tutorials-json.yml +++ b/.github/workflows/make-tutorials-json.yml @@ -20,7 +20,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: filter: blob:none fetch-depth: 0 @@ -32,7 +32,7 @@ jobs: uvx hatch run registry:validate --outdir build - name: Upload GitHub Pages artifact - uses: actions/upload-pages-artifact@v3 + uses: actions/upload-pages-artifact@v5 with: path: "build"