Skip to content

Commit

Permalink
ci: bump dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
paolobarbolini authored and guerinoni committed Dec 31, 2024
1 parent bca0921 commit c8b7a9c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/continuos-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [push, pull_request]

jobs:
fmt:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:

Expand All @@ -20,7 +20,7 @@ jobs:
run: cargo fmt -- --check

clippy:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:

Expand All @@ -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 }}

Expand All @@ -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:

Expand All @@ -82,7 +82,7 @@ jobs:
run: cargo test --lib

coverage:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:

Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions tests/upload_download.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down Expand Up @@ -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());
Expand Down

0 comments on commit c8b7a9c

Please sign in to comment.