Merge origin/main (e7be517e, #13 NegotiatedProtocol flake 고침 등) into PR #12 브랜치
pr / done (pull_request) Successful in 12m51s
pr / done (pull_request) Successful in 12m51s
This commit is contained in:
+10
-2
@@ -170,7 +170,7 @@ class DeveloperExperienceContractTest {
|
||||
.as("a conditional link check is one nobody sees run")
|
||||
.isFalse();
|
||||
assertThat(String.valueOf(lycheeStep.get("uses")))
|
||||
.endsWith("lycheeverse/lychee-action@7cd0af4c74a61395d455af97419279d86aafaede");
|
||||
.endsWith("lycheeverse/lychee-action@e7477775783ea5526144ba13e8db5eec57747ce8");
|
||||
Map<?, ?> with = requireMap(lycheeStep, "with");
|
||||
assertThat(with.get("fail")).isEqualTo(true);
|
||||
assertThat(shellWords(requireString(with, "args")))
|
||||
@@ -321,7 +321,15 @@ class DeveloperExperienceContractTest {
|
||||
assertThat(jobsWithTheKey).containsExactly("app-image-signing");
|
||||
Map<?, ?> signing = requireMap(jobs, "app-image-signing");
|
||||
assertThat(requireStringList(signing, "needs")).containsExactly("app-image-release");
|
||||
assertThat(requireString(signing, "if")).contains("github.ref_type == 'tag'");
|
||||
assertThat(signing.containsKey("if"))
|
||||
.as("a job with both needs and if never leaves Blocked on this Gitea")
|
||||
.isFalse();
|
||||
assertThat(requireList(signing, "steps"))
|
||||
.as("every step runs only for a tag")
|
||||
.allSatisfy(
|
||||
step ->
|
||||
assertThat(String.valueOf(((Map<?, ?>) step).get("if")))
|
||||
.contains("github.ref_type == 'tag'"));
|
||||
String script =
|
||||
String.join(
|
||||
"\n",
|
||||
|
||||
Reference in New Issue
Block a user