Skip to content

Commit

Permalink
Add adoptium to network checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaz492 committed Aug 30, 2024
1 parent a261c1c commit 711388b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions consts.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,18 @@ var (
ExpectedStatusCode: http.StatusOK,
ExpectedReponse: "",
},
"https://api.adoptium.net/v3/assets/latest/21/hotspot?architecture=x64&image_type=jre": {
Method: "GET",
ValidateResponse: false,
ExpectedStatusCode: http.StatusOK,
ExpectedReponse: "",
},
"https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.4%2B7/OpenJDK21U-jre_x64_windows_hotspot_21.0.4_7.zip": {
Method: "HEAD",
ValidateResponse: false,
ExpectedStatusCode: http.StatusOK,
ExpectedReponse: "",
},
"https://maven.fabricmc.net": {
Method: "HEAD",
ValidateResponse: false,
Expand Down

0 comments on commit 711388b

Please sign in to comment.