Skip to content

Commit b6477fb

Browse files
shoyerXarray-Beam authors
authored andcommitted
Add a warning when using xarray_beam.ChunksToZarr with no template
If this works well at some point in the future (e.g., using zarr v3), we can always remove the warning. But for now, this is better than letting users run directly into the race condition in #85 I've also removed all suggestions from the docs of omitting a `template`. PiperOrigin-RevId: 721163016
1 parent 097536c commit b6477fb

File tree

6 files changed

+565
-505
lines changed

6 files changed

+565
-505
lines changed

.github/workflows/ci-build.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,23 @@ jobs:
2323
with:
2424
access_token: ${{ github.token }}
2525
if: ${{github.ref != 'refs/head/main'}}
26-
- uses: actions/checkout@v2
26+
- uses: actions/checkout@v4
2727
- name: Set up Python ${{ matrix.python-version }}
28-
uses: actions/setup-python@v2
28+
uses: actions/setup-python@v5
2929
with:
3030
python-version: ${{ matrix.python-version }}
3131
- name: Get pip cache dir
3232
id: pip-cache
3333
run: |
3434
python -m pip install --upgrade pip wheel
35-
echo "dir=$(pip cache dir)" >> "$GITHUB_OUTPUT"
35+
echo "::set-output name=dir::$(pip cache dir)"
3636
- name: pip cache
37-
uses: actions/cache@v2
37+
uses: actions/cache@v4
3838
with:
3939
path: ${{ steps.pip-cache.outputs.dir }}
4040
key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}
41+
restore-keys: |
42+
${{ runner.os }}-pip-
4143
- name: Install Xarray-Beam
4244
run: |
4345
pip install -e .[tests]

0 commit comments

Comments
 (0)