1
0
mirror of https://github.com/square/okhttp.git synced 2026-10-24 07:59:29 +03:00

172 Commits

Author SHA1 Message Date
renovate[bot]
9e87c88a01 Update actions/setup-java action to v6.1.0 (#9809)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-21 21:13:25 -04:00
renovate[bot]
03f1c1f941 Update EnricoMi/publish-unit-test-result-action action to v2.25.0 (#9801)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-20 09:42:17 -04:00
renovate[bot]
9258cc5405 Update graalvm/setup-graalvm action to v1.6.7 (#9785)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-17 12:32:22 +01:00
renovate[bot]
36441379d0 Update mikepenz/action-junit-report action to v6.6.1 (#9793)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-16 22:58:07 -04:00
renovate[bot]
e4f558c201 Update actions/upload-artifact action to v7.0.2 (#9792)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-16 22:54:33 -04:00
Jake Wharton
26db30fb4f Delete .github/CONTRIBUTING.md 2026-10-16 22:35:34 -04:00
renovate[bot]
5a4b597d11 Update mikepenz/action-junit-report action to v6.6.0 (#9787)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-12 18:02:18 -04:00
renovate[bot]
83e0c63ec6 Update gradle/actions action to v6.4.0 (#9781)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-05 20:57:30 -07:00
renovate[bot]
3fb382435b Update graalvm/setup-graalvm action to v1.6.6 (#9749)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-30 21:06:58 -07:00
renovate[bot]
40a3b8749d Update actions/setup-java action to v6.0.1 (#9756)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-16 20:03:30 -04:00
renovate[bot]
5aab55d5ee Update mikepenz/action-junit-report action to v6.5.0 (#9745)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-04 16:12:07 -04:00
renovate[bot]
c467a32e88 Update actions/setup-java action to v6 (#9737)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-31 15:27:33 -04:00
Yuri Schimke
c2f7f5b505 Delete container tests (#9736) 2026-08-29 16:10:54 +01:00
renovate[bot]
1c83b54d8e Pin actions/setup-python action to 5fda3b9 (#9721)
---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jake Wharton <jw@jakewharton.com>
2026-08-21 11:00:25 -04:00
renovate[bot]
330a175e11 Pin rinchsan/renovate-config-validator (#9720)
---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jake Wharton <jw@jakewharton.com>
2026-08-21 10:55:36 -04:00
renovate[bot]
e5d167ff7a Update actions/checkout action to v7.0.1 (#9711)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-21 10:52:33 -04:00
renovate[bot]
32542ac7d7 Update reactivecircus/android-emulator-runner action to v2.38.0 (#9719)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-21 10:42:38 -04:00
renovate[bot]
61cb4cb4e8 Update actions/upload-artifact action to v7.0.1 (#9712)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-21 10:37:30 -04:00
renovate[bot]
4383498259 Update actions/setup-java action to v5.7.0 (#9714)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-21 10:30:56 -04:00
renovate[bot]
8e5caf451b Update graalvm/setup-graalvm action to v1.6.4 (#9716)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-21 10:28:22 -04:00
renovate[bot]
b251bceaa9 Update mikepenz/action-junit-report action to v6.4.2 (#9718)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-21 10:01:35 -04:00
renovate[bot]
f711949c38 Update gradle/actions action to v6.3.0 (#9717)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-21 10:01:24 -04:00
renovate[bot]
e783889d3c Update EnricoMi/publish-unit-test-result-action action to v2.24.0 (#9715)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-21 09:11:44 -04:00
renovate[bot]
550bbb4ea0 Update actions/cache action to v6.1.0 (#9713)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-21 08:44:52 -04:00
Jake Wharton
462c4262ac Use common Renovate config (#9708) 2026-08-21 07:19:50 -04:00
Jake Wharton
30fb5516af Disable Loom CI shard (#9668)
It fails 100% of the time, so any real failures today are being ignored anyway.
2026-08-14 09:38:25 -04:00
Vamsi Vaddavalli
deb50ffebd Add .java-version for the publish workflow (#9649) 2026-08-10 12:28:06 -04:00
Vamsi Vaddavalli
9dab6a1752 Set publish workflow JDK version inline (#9647) 2026-08-10 05:44:54 -04:00
Vamsi Vaddavalli
36c51cbf10 Use lysine-dev in build workflow conditions (#9646) 2026-08-09 22:39:43 -04:00
Jake Wharton
370acafb75 Update GitHub Actions for new secrets and branch (#9618) 2026-07-28 15:21:50 -04:00
renovate[bot]
603875cb5e Update gradle/actions action to v6 (#9589)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-26 12:50:47 +01:00
renovate[bot]
517e185b1d Update actions/setup-python action to v7 (#9588)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-26 12:50:40 +01:00
Yuri Schimke
c38a27dc70 Updated guidance for running API 37.0 emulators (#9572) 2026-07-21 20:10:32 +01:00
Yuri Schimke
359febc4e2 emulator 37 testing (#9515)
* Set up API 37 emulator matrix in CI

Refactor the android CI job to drive the emulator matrix off an explicit
target/arch include list and add an experimental, non-blocking API 37
(16 KB page-size) entry. Warm the Gradle cache by assembling the
instrumentation APK instead of running the Robolectric unit tests, match
the snapshot boot options on the run step so cached snapshots restore,
and bump emulator memory/GPU/feature flags for headless runs.

Extracted from the testing_ech branch so the emulator setup can land
ahead of the ECH work.

* Fix android-test instrumentation tests for the API 37 emulator

Three environmental differences surface on the API 37 emulator image and
make connectedCheck fail there:

- The GmsCore Conscrypt provider negotiates TLS 1.3 (not 1.2) from API 37
  onward, so assert the version conditionally.
- The dual-stack loopback tries the unbound address first, emitting a
  ConnectStart/ConnectFailed pair before the successful connect; filter
  those pairs out so the event-sequence assertion is stable across single-
  and dual-stack environments.
- Peer verification failures can arrive wrapped (as a cause or suppressed
  exception) rather than thrown directly; accept any of those shapes.

These are independent of the Android 17 platform/ECH work, so they can
land with the emulator CI setup ahead of it.
2026-06-27 20:33:10 +00:00
renovate[bot]
055e69afcc Update actions/cache action to v6 (#9507)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-23 13:54:57 -04:00
renovate[bot]
f9492a3a26 Update actions/checkout action to v7 (#9494)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-18 17:41:33 -04:00
renovate[bot]
113ad17f70 Update dependency macos to v26 (#9457)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-29 09:46:27 +01:00
renovate[bot]
50797d59db Update rinchsan/renovate-config-validator action to v0.2.1 (#9425)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-23 15:13:52 -04:00
Arpit Jain
1d9a8ba6c3 ci: declare contents:read on publish workflow (#9442)
publish.yml runs `./gradlew publish` against Maven Central with
Sonatype + GPG credentials passed via secrets. The workflow's own
GITHUB_TOKEN isn't used by Gradle for the publish, so contents:read
is the minimum.

Matches the workflow-level permissions block already used in
build.yml and the per-job blocks in containers.yml / docs.yml.

Signed-off-by: Arpit Jain <arpitjain099@gmail.com>
2026-05-15 07:16:11 -04:00
renovate[bot]
0981b93d86 Update graalvm to v1 (major) (#9393)
* Update graalvm to v1
* Fixup nativeImage build
* use JDK 25 for GraalVM

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Yuri Schimke <yuri@schimke.ee>
2026-04-05 12:37:30 +01:00
Yuri Schimke
cdf075a8d0 remove commented build steps (#9357)
Were commented out for the release tests due to AGP 9 compatibility issues.
2026-03-10 16:19:02 +00:00
renovate[bot]
6ef2223507 Update actions/upload-artifact action to v7 (#9343)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-26 22:11:04 +00:00
Yuri Schimke
167be21604 Pin androidx dep for minSdk reasons
Bumped to minSdk 23, while we want to test against 21
2026-02-15 12:02:18 +00:00
Yuri Schimke
4317819d6a Allow write from jvm build (#9324) 2026-02-08 12:06:25 -08:00
Yuri Schimke
c7556e0ac6 Fix OpenJSSE module config (#9316)
* Fix OpenJSSE module config

Avoids

```
java.lang.ExceptionInInitializerError: Exception java.lang.IllegalAccessError: class org.openjsse.sun.security.ssl.SSLLogger (in unnamed
module @0x58cbafc2) cannot access class sun.security.action.GetPropertyAction (in module java.base) because module java.base does not export sun.security.action to
unnamed module @0x58cbafc2 [in thread "Test worker"]
```

* x509

* comment

* better approach

* Avoid test failure

* Cleanup

* Cleanup
2026-02-07 07:16:57 +00:00
renovate[bot]
062ed30ce9 Update actions/cache action to v5 (#9318)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-07 07:06:44 +00:00
Yuri Schimke
b6bff20bcd Use specific old build for ALPN testing (#9319) 2026-02-07 07:00:37 +00:00
Yuri Schimke
dfaf54f40c CI workflow reorg (#9317)
* minor renames to CI jobs
* avoid http client tests
* avoid android release APK tests
2026-02-07 06:56:34 +00:00
Yuri Schimke
6ae3a59fc8 Refactor: Consolidate CI jobs using matrix strategies (#9311)
Consolidates the GitHub Actions workflow by using matrix strategies for JVM and provider tests.

- Replaces separate `testopenjdk*` jobs with a single `test_jvm` job that runs tests against Java versions 8, 11, 17, and 21 using a matrix.
- Replaces separate provider test jobs (`testopenjsse`, `testconscrypt`, `testbouncycastle`, `testcorretto`) with a single `test_providers` job that uses a matrix for different security providers.
- Adds workflow concurrency to cancel in-progress runs on the same branch.
- Removes redundant JDK setup steps and cleans up Java version definitions.
2026-02-05 09:16:37 +00:00
Yuri Schimke
c4f96b781a Adopt a full modern gradle build (#9292)
* Introduce build-logic decoupled convention plugins
* Switch to a full modern gradle build
2026-02-03 22:17:59 +00:00