From c8b7a9ce89ef6e9a82449c18a169e27639f20cdf Mon Sep 17 00:00:00 2001 From: Paolo Barbolini Date: Sun, 29 Dec 2024 10:46:34 +0100 Subject: [PATCH] ci: bump dependencies --- .github/workflows/continuos-integration.yml | 20 ++++++++++---------- tests/upload_download.rs | 4 ++-- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/continuos-integration.yml b/.github/workflows/continuos-integration.yml index 6c34c55..509c6ab 100644 --- a/.github/workflows/continuos-integration.yml +++ b/.github/workflows/continuos-integration.yml @@ -4,7 +4,7 @@ on: [push, pull_request] jobs: fmt: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: @@ -20,7 +20,7 @@ jobs: run: cargo fmt -- --check clippy: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: @@ -38,7 +38,7 @@ jobs: test: strategy: matrix: - platform: [ubuntu-22.04, windows-latest, macos-latest] + platform: [ubuntu-24.04, windows-latest, macos-latest] runs-on: ${{ matrix.platform }} @@ -48,27 +48,27 @@ jobs: uses: actions/checkout@v4 - name: Install and run minio - if: matrix.platform == 'ubuntu-22.04' + if: matrix.platform == 'ubuntu-24.04' run: | - MINIO_RELEASE="2021-03-26T00-00-41Z" + MINIO_RELEASE="2024-12-18T13-15-44Z" LINK="https://dl.min.io/server/minio/release/linux-amd64/archive/" curl --output minio "$LINK/minio.RELEASE.$MINIO_RELEASE" chmod +x minio ./minio server minio_data/ & - name: Run tests - if: matrix.platform == 'ubuntu-22.04' + if: matrix.platform == 'ubuntu-24.04' run: cargo test - name: Run tests - if: matrix.platform != 'ubuntu-22.04' + if: matrix.platform != 'ubuntu-24.04' run: cargo test --lib - name: Run tests no default features run: cargo test --lib --no-default-features msrv: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: @@ -82,7 +82,7 @@ jobs: run: cargo test --lib coverage: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: @@ -91,7 +91,7 @@ jobs: - name: Install cargo-tarpaulin run: | - LINK="https://github.com/xd009642/tarpaulin/releases/download/0.22.0/cargo-tarpaulin-0.22.0-travis.tar.gz" + LINK="https://github.com/xd009642/tarpaulin/releases/download/0.31.3/cargo-tarpaulin-x86_64-unknown-linux-gnu.tar.gz" curl -L --output tarpaulin.tar.gz "$LINK" tar -xzvf tarpaulin.tar.gz chmod +x cargo-tarpaulin diff --git a/tests/upload_download.rs b/tests/upload_download.rs index 4436c24..dd4acdc 100644 --- a/tests/upload_download.rs +++ b/tests/upload_download.rs @@ -22,7 +22,7 @@ async fn test1() { assert!(list.contents.is_empty()); - assert_eq!(list.max_keys, Some(4500)); + assert_eq!(list.max_keys, Some(1000)); assert!(list.common_prefixes.is_empty()); assert!(list.next_continuation_token.is_none()); assert!(list.start_after.is_none()); @@ -92,7 +92,7 @@ async fn test_headers() { assert!(list.contents.is_empty()); - assert_eq!(list.max_keys, Some(4500)); + assert_eq!(list.max_keys, Some(1000)); assert!(list.common_prefixes.is_empty()); assert!(list.next_continuation_token.is_none()); assert!(list.start_after.is_none());