From 437dbc8d03b115c97a19028c69d1aea626f6fc31 Mon Sep 17 00:00:00 2001 From: "Philipp A." Date: Tue, 22 Oct 2024 17:57:54 +0200 Subject: [PATCH] Fix GH actions benchmark run (#1730) --- .github/workflows/benchmark.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index f46beb094..b7355b6b5 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -25,7 +25,7 @@ jobs: ASV_DIR: "./benchmarks" steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -33,18 +33,20 @@ jobs: if: ${{ github.ref_name != 'main' }} # Errors on main branch - - uses: mamba-org/setup-micromamba@v1 + - uses: mamba-org/setup-micromamba@v2 with: environment-name: asv cache-environment: true + # Deps documented in https://asv.readthedocs.io/en/latest/installing.html + # libmambapy upper bound: https://github.com/airspeed-velocity/asv/issues/1438 create-args: >- - python=3.11 + python=${{ matrix.python }} asv - mamba - packaging + libmambapy<2 + conda-build - name: Cache datasets - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.cache