Skip to content

Commit

Permalink
Tweak actions runnners
Browse files Browse the repository at this point in the history
  • Loading branch information
sagebind committed Apr 30, 2024
1 parent 445f32f commit 9d1edd4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
matrix:
os:
- ubuntu-latest
- macos-latest
- macos-12
- windows-latest
runs-on: ${{ matrix.os }}
timeout-minutes: 20
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
run: cargo run --release --example simple

test-minimal-versions:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
timeout-minutes: 20
steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions src/info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,14 @@ mod tests {
let version = version();

assert!(version.starts_with("isahc/1."));
assert!(version.contains("curl/7."));
assert!(version.contains("curl/7.") || version.contains("curl/8."));
}

#[test]
fn curl_version_expected() {
let (major, minor, _patch) = curl_version();

assert_eq!(major, 7);
assert!(major >= 7);
assert!(minor > 0);
}

Expand Down

0 comments on commit 9d1edd4

Please sign in to comment.