From 8e9e55890aebc5c5ea4e4ee9c50cf8641d55724a Mon Sep 17 00:00:00 2001 From: Alan Liddell Date: Fri, 15 Nov 2024 12:23:48 -0800 Subject: [PATCH] Prep for 0.2.0 (#317) - Update to acquire-zarr latest - Set acquire-zarr log level to Error --- .github/workflows/build.yml | 18 ++++++++---------- .github/workflows/release.yml | 18 ++++++++---------- .github/workflows/test_pr.yml | 9 ++++----- src/zarr.storage.cpp | 1 + 4 files changed, 21 insertions(+), 25 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 949fff8d..77fa812a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,12 +26,11 @@ jobs: permissions: actions: write - steps: - - name: Cancel Previous Runs - uses: styfle/cancel-workflow-action@0.10.0 - with: - access_token: ${{ github.token }} + concurrency: + group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.platform }}-${{ matrix.build_type }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} + steps: - uses: actions/checkout@v3 with: submodules: true @@ -72,12 +71,11 @@ jobs: permissions: actions: write - steps: - - name: Cancel Previous Runs - uses: styfle/cancel-workflow-action@0.10.0 - with: - access_token: ${{ github.token }} + concurrency: + group: ${{ github.workflow }}-${{ github.ref }}-macos-latest-${{ matrix.build_type }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} + steps: - uses: actions/checkout@v3 with: submodules: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cc4a5f7a..b8652f55 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,12 +27,11 @@ jobs: permissions: actions: write - steps: - - name: Cancel Previous Runs - uses: styfle/cancel-workflow-action@0.10.0 - with: - access_token: ${{ github.token }} + concurrency: + group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.platform }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} + steps: - uses: actions/checkout@v3 with: submodules: true @@ -72,12 +71,11 @@ jobs: permissions: actions: write - steps: - - name: Cancel Previous Runs - uses: styfle/cancel-workflow-action@0.10.0 - with: - access_token: ${{ github.token }} + concurrency: + group: ${{ github.workflow }}-${{ github.ref }}-macos-latest + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} + steps: - uses: actions/checkout@v3 with: submodules: true diff --git a/.github/workflows/test_pr.yml b/.github/workflows/test_pr.yml index 9e17a369..e13bcbd9 100644 --- a/.github/workflows/test_pr.yml +++ b/.github/workflows/test_pr.yml @@ -33,12 +33,11 @@ jobs: permissions: actions: write - steps: - - name: Cancel Previous Runs - uses: styfle/cancel-workflow-action@0.10.0 - with: - access_token: ${{ github.token }} + concurrency: + group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.platform }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} + steps: - uses: actions/checkout@v3 with: submodules: true diff --git a/src/zarr.storage.cpp b/src/zarr.storage.cpp index 12cd1484..d4dcc438 100644 --- a/src/zarr.storage.cpp +++ b/src/zarr.storage.cpp @@ -453,6 +453,7 @@ sink::Zarr::Zarr(ZarrVersion version, , multiscale_(false) , stream_(nullptr) { + Zarr_set_log_level(ZarrLogLevel_Error); EXPECT( version_ < ZarrVersionCount, "Unsupported Zarr version: %d", version); EXPECT(compression_codec_ < ZarrCompressionCodecCount,