Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
shell: bash -l {0}
steps:
- name: Checkout source
uses: actions/checkout@v2
uses: actions/checkout@v6.0.2

- name: Cache conda
uses: actions/cache@v2
uses: actions/cache@v5.0.3
env:
# Increase this value to reset cache if binder/environment.yml has not changed
CACHE_NUMBER: 0
Expand All @@ -26,9 +26,8 @@ jobs:
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('binder/environment.yml') }}

- name: Setup Conda Environment
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3.3.0
with:
miniforge-variant: Mambaforge
miniforge-version: latest
environment-file: binder/environment.yml
activate-environment: dask-examples
Expand Down Expand Up @@ -57,7 +56,7 @@ jobs:

- name: Deploy
if: ${{ github.ref == 'refs/heads/main' && github.event_name != 'pull_request'}}
uses: JamesIves/github-pages-deploy-action@3.7.1
uses: JamesIves/github-pages-deploy-action@v4.8.0
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-repo2docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v6.0.2

- name: Set up Python 3.9
uses: actions/setup-python@v2
uses: actions/setup-python@v6.2.0
with:
python-version: 3.9

Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/ci-update-dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
shell: bash -l {0}
steps:
- name: Checkout source
uses: actions/checkout@v2
uses: actions/checkout@v6.0.2

- name: Cache conda
uses: actions/cache@v2
uses: actions/cache@v5.0.3
env:
# Increase this value to reset cache if binder/environment-base.yml has not changed
CACHE_NUMBER: 0
Expand All @@ -26,9 +26,8 @@ jobs:
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('binder/environment-base.yml') }}

- name: Setup Conda Environment
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3.3.0
with:
miniforge-variant: Mambaforge
miniforge-version: latest
environment-file: binder/environment-base.yml
auto-activate-base: false
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
name: "pre-commit hooks"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v6.0.2
- uses: actions/setup-python@v6.2.0
with:
python-version: "3.9"
- uses: pre-commit/action@v2.0.0
- uses: pre-commit/action@v3.0.1
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Updating the Binder environment
2. Run a `linux/amd64` Docker container with `mamba` available. For example:

```shell
docker run --platform=linux/amd64 -it --rm --mount type=bind,source=$(pwd)/binder,target=/binder condaforge/mambaforge /bin/bash
docker run --platform=linux/amd64 -it --rm --mount type=bind,source=$(pwd)/binder,target=/binder condaforge/miniforge3 /bin/bash
```

This mounts the `./binder` folder in `/binder` in the Docker container
Expand All @@ -66,5 +66,5 @@ Updating the Binder environment
4. Export the environment specification:

```shell
mamba env export -n dask-examples --no-builds -f environment.yml
mamba env export -n dask-examples --no-builds | grep -v "^prefix: " > environment.yml
```
Loading