Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/benchmarks-last-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
cp benchmarks/README_CI.md benchmarks.log .asv/results/
working-directory: ${{ env.ASV_DIR }}

- uses: actions/upload-artifact@v5
- uses: actions/upload-artifact@v6
if: always()
with:
name: asv-benchmark-results-${{ runner.os }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
cp benchmarks/README_CI.md benchmarks.log .asv/results/
working-directory: ${{ env.ASV_DIR }}

- uses: actions/upload-artifact@v5
- uses: actions/upload-artifact@v6
if: always()
with:
name: asv-benchmark-results-${{ runner.os }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cache-pixi-lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Get current date
id: date
run: echo "date=$(date +'%Y-%m-%d')" >> "$GITHUB_OUTPUT"
- uses: actions/cache/restore@v4
- uses: actions/cache/restore@v5
id: restore
with:
path: |
Expand All @@ -38,15 +38,15 @@ jobs:
- name: Run pixi lock
if: ${{ !steps.restore.outputs.cache-hit }}
run: pixi lock
- uses: actions/cache/save@v4
- uses: actions/cache/save@v5
if: ${{ !steps.restore.outputs.cache-hit }}
id: cache
with:
path: |
pixi.lock
key: ${{ steps.restore.outputs.cache-primary-key }}
- name: Upload pixi.lock
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: pixi-lock
path: pixi.lock
18 changes: 9 additions & 9 deletions .github/workflows/ci-additional.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
echo "TODAY=$(date +'%Y-%m-%d')" >> $GITHUB_ENV

- name: Restore cached pixi lockfile
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
id: restore-pixi-lock
with:
enableCrossOsArchive: true
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
with:
fetch-depth: 0 # Fetch all history for all branches and tags.
- name: Restore cached pixi lockfile
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
id: restore-pixi-lock
with:
enableCrossOsArchive: true
Expand All @@ -127,7 +127,7 @@ jobs:
pixi run -e ${{env.PIXI_ENV}} -- python -m mypy --install-types --non-interactive --cobertura-xml-report mypy_report

- name: Upload mypy coverage to Codecov
uses: codecov/[email protected].1
uses: codecov/[email protected].2
with:
file: mypy_report/cobertura.xml
flags: mypy
Expand All @@ -150,7 +150,7 @@ jobs:
with:
fetch-depth: 0 # Fetch all history for all branches and tags.
- name: Restore cached pixi lockfile
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
id: restore-pixi-lock
with:
enableCrossOsArchive: true
Expand All @@ -176,7 +176,7 @@ jobs:
pixi run -e ${{env.PIXI_ENV}} -- python -m mypy --install-types --non-interactive --cobertura-xml-report mypy_report

- name: Upload mypy coverage to Codecov
uses: codecov/[email protected].1
uses: codecov/[email protected].2
with:
file: mypy_report/cobertura.xml
flags: mypy-min
Expand Down Expand Up @@ -207,7 +207,7 @@ jobs:
fetch-depth: 0 # Fetch all history for all branches and tags.

- name: Restore cached pixi lockfile
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
id: restore-pixi-lock
with:
enableCrossOsArchive: true
Expand All @@ -233,7 +233,7 @@ jobs:
pixi run -e ${{ matrix.pixi-env }} -- python -m pyright xarray/

- name: Upload pyright coverage to Codecov
uses: codecov/[email protected].1
uses: codecov/[email protected].2
with:
file: pyright_report/cobertura.xml
flags: pyright
Expand Down Expand Up @@ -265,13 +265,13 @@ jobs:
python-version: "3.x"

- name: All-deps minimum versions policy
uses: xarray-contrib/minimum-dependency-versions@e2ac8ff0a76e8603d8536ef5d64743a375961ce9 # v0.1.1
uses: xarray-contrib/minimum-dependency-versions@3db8e1c17328ee1e27dfe4db90d908644856eb61 # v1.0.0
with:
policy: ci/policy.yaml
environment-paths: ci/requirements/min-all-deps.yml

- name: Bare minimum versions policy
uses: xarray-contrib/minimum-dependency-versions@e2ac8ff0a76e8603d8536ef5d64743a375961ce9 # v0.1.1
uses: xarray-contrib/minimum-dependency-versions@3db8e1c17328ee1e27dfe4db90d908644856eb61 # v1.0.0
with:
policy: ci/policy.yaml
environment-paths: ci/requirements/bare-minimum.yml
10 changes: 5 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
with:
fetch-depth: 0 # Fetch all history for all branches and tags.
- name: Restore cached pixi lockfile
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
id: restore-pixi-lock
with:
enableCrossOsArchive: true
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
pixi run -e ${{ matrix.pixi-env }} -- python -c "import xarray"

- name: Restore cached hypothesis directory
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: .hypothesis/
key: cache-hypothesis
Expand All @@ -152,13 +152,13 @@ jobs:

- name: Upload test results
if: always()
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: Test results for OS ${{ runner.os }} pixi-env ${{ matrix.pixi-env }} pytest-addopts ${{ matrix.pytest-addopts }}
path: pytest.xml

- name: Upload code coverage to Codecov
uses: codecov/[email protected].1
uses: codecov/[email protected].2
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
Expand All @@ -174,7 +174,7 @@ jobs:
if: github.repository == 'pydata/xarray'
steps:
- name: Upload
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: Event File
path: ${{ github.event_path }}
6 changes: 3 additions & 3 deletions .github/workflows/hypothesis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
fetch-depth: 0 # Fetch all history for all branches and tags.

- name: Restore cached pixi lockfile
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
id: restore-pixi-lock
with:
enableCrossOsArchive: true
Expand All @@ -89,7 +89,7 @@ jobs:
# https://github.com/actions/cache/blob/main/tips-and-workarounds.md#update-a-cache
- name: Restore cached hypothesis directory
id: restore-hypothesis-cache
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
with:
path: .hypothesis/
key: cache-hypothesis-${{ runner.os }}-${{ github.run_id }}
Expand All @@ -107,7 +107,7 @@ jobs:
- name: Save cached hypothesis directory
id: save-hypothesis-cache
if: always() && steps.status.outcome != 'skipped'
uses: actions/cache/save@v4
uses: actions/cache/save@v5
with:
path: .hypothesis/
key: cache-hypothesis-${{ runner.os }}-${{ github.run_id }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pypi-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
else
echo "✅ Looks good"
fi
- uses: actions/upload-artifact@v5
- uses: actions/upload-artifact@v6
with:
name: releases
path: dist
Expand All @@ -62,7 +62,7 @@ jobs:
name: Install Python
with:
python-version: "3.12"
- uses: actions/download-artifact@v6
- uses: actions/download-artifact@v7
with:
name: releases
path: dist
Expand All @@ -89,7 +89,7 @@ jobs:
id-token: write

steps:
- uses: actions/download-artifact@v6
- uses: actions/download-artifact@v7
with:
name: releases
path: dist
Expand All @@ -112,7 +112,7 @@ jobs:
id-token: write

steps:
- uses: actions/download-artifact@v6
- uses: actions/download-artifact@v7
with:
name: releases
path: dist
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/upstream-dev-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
with:
fetch-depth: 0 # Fetch all history for all branches and tags.
- name: Restore cached pixi lockfile
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
id: restore-pixi-lock
with:
enableCrossOsArchive: true
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
fetch-depth: 0 # Fetch all history for all branches and tags.

- name: Restore cached pixi lockfile
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
id: restore-pixi-lock
with:
enableCrossOsArchive: true
Expand All @@ -146,7 +146,7 @@ jobs:
run: |
pixi run -e ${{matrix.pixi-env}} -- python -m mypy --install-types --non-interactive --cobertura-xml-report mypy_report
- name: Upload mypy coverage to Codecov
uses: codecov/[email protected].1
uses: codecov/[email protected].2
with:
file: mypy_report/cobertura.xml
flags: mypy
Expand Down
Loading