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