daz
b64dafb1c9
Use locally built dist for demo workflows
2024-04-10 07:33:46 -06:00
daz
153b1135d0
Remove old workflow
2024-04-10 06:58:06 -06:00
daz
211d342ee6
Rename workflow
2024-04-10 06:57:13 -06:00
daz
6599acbe46
Add back dependency-review.yml so we can rename it
2024-04-10 06:55:58 -06:00
daz
e7c0080dc5
Remove old workflows
2024-04-10 06:52:39 -06:00
daz
0979245ebd
Rename 'check' workflows to 'integ-test'
2024-04-10 06:50:04 -06:00
daz
73638aa351
Run quick-check only if commit is NOT part of a PR
...
Without a mechanism to check this in the workflow trigger,
we instead run the workflow but skip all jobs if the commit belongs to a PR.
This effectively means that commits-without-PR will run quick-check, and commits-with-PR
will run full-check.
2024-04-10 06:39:42 -06:00
daz
d28f25d60a
Cache npm
2024-04-10 06:04:32 -06:00
daz
8bac4a819c
Split out check-and-unit-test into separate workflow
2024-04-10 06:01:23 -06:00
daz
bd3d4b0246
Check for secrets when running tests that require them
2024-04-10 05:47:43 -06:00
daz
667e034cd9
Split out test that requires DV access key
2024-04-10 05:46:20 -06:00
daz
cd54673221
Use runner-os consistently in integ-tests
2024-04-10 05:46:19 -06:00
daz
0ebfbb8f41
Always build 'dist' directory for integ-tests
2024-04-10 05:06:37 -06:00
daz
9169d36880
Consolidate 'dependency-submission' tests into integ-test workflow
2024-04-10 05:00:05 -06:00
daz
63fcfbfe27
Disable fail-fast for integ tests
2024-04-09 16:07:32 -06:00
daz
92975d7f32
Allow a task name to be specified for dependency-submission
...
Fixes : #125
2024-04-09 08:46:20 -06:00
Daz DeBoer
e235596c88
Only process build results once ( #133 )
...
On long-lived machines, it's possible that the `.build-results` directory isn't cleared between invocations. This will result in the job summary including results from previous jobs.
By marking each build-results file as 'processed' at the end of the job, we can avoid this scenario.
2024-04-08 19:44:46 -06:00
daz
a9dc5dee4e
Bump to CCUD plugin v2.0 everywhere
2024-04-07 22:42:14 -06:00
daz
ab471b0c20
Better test coverage for 'dependency-submission'
...
- Add 'dependency-submission' failure cases
- Add dependency-submission to job summary demo
- Fix permissions for dependency review
2024-04-07 16:57:18 -06:00
daz
90bf65c87c
Generated graph is submitted immediately by dependency-submission action
...
While `setup-gradle` must wait until the end of job to submit all of the generated
graphs, the `dependency-submission` action will not save/upload the generated graph
immediately, in the same step where it is generated.
2024-04-07 16:57:18 -06:00
daz
38a821729e
Use consistent action params between setup-gradle and dependency-submission
...
To ensure expected caching (and other) behaviour, we should keep these config
parameters as consistent as possible.
2024-04-07 12:11:50 -06:00
daz
ed4d086d37
Make dependency-submission and setup-gradle play nicely
...
Now, a `dependency-submission` step will trigger a dependency-graph
generation, even if it follows a `setup-gradle` step in the workflow.
Similarly, a `setup-gradle` step with `dependency-graph` configured
will function as expected even if it follows a `setup-gradle` step.
2024-04-06 19:31:07 -06:00
daz
ebf4d13461
Convert dependency-submission
action to Typescript
...
Instead of being a thin wrapper over `setup-gradle`, the `dependency-submission`
action is now a fully-fledged action sharing implementation with `setup-gradle`.
2024-04-06 19:31:04 -06:00
daz
d71ecafebf
Minor test reorg
2024-04-06 16:00:53 -06:00
daz
1390ca6454
Don't rely on preinstalled gradle for test
2024-04-06 14:52:02 -06:00
daz
a3f366ddb7
Replace 'download-dist' action with 'init-integ-test'
...
This action takes care of 'setup-java' as well as downloading the dist if required.
2024-04-06 14:52:02 -06:00
daz
340a6438d0
Add 'setup-java' step to all examples
2024-04-05 14:54:29 -06:00
daz
518b14b196
Switch from com.gradle.enterprise to com.gradle.develocity
2024-04-03 19:05:27 -06:00
daz
81b3a2db60
Bump to Develocity plugin 3.17
2024-04-03 19:05:27 -06:00
Pavlo Shevchenko
5a171ce5b8
Inject Develocity plugin for versions 3.17 and above ( #62 )
...
To handle the rebranding of the GE plugin, this PR updates the inject-develocity init script
to apply the `com.gradle.develocity` plugin if `3.17+` version of the plugin is requested.
2024-04-03 14:47:50 -06:00
daz
cc54166e15
Truncate long values in job summary table
...
Fixes #35
2024-04-01 12:24:45 -06:00
daz
393df4bfa2
Bump to Gradle 8.7
2024-03-23 09:32:57 -06:00
dependabot[bot]
8735d0c1bb
Bump com.google.guava:guava in /.github/workflow-samples/kotlin-dsl
...
Bumps [com.google.guava:guava](https://github.com/google/guava ) from 33.0.0-jre to 33.1.0-jre.
- [Release notes](https://github.com/google/guava/releases )
- [Commits](https://github.com/google/guava/commits )
---
updated-dependencies:
- dependency-name: com.google.guava:guava
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-21 21:52:55 -06:00
daz
cee9fbd6e2
Bump CCUD plugin to 1.13
2024-03-12 16:13:40 +13:00
Daz DeBoer
32f1033fd2
Fix dependabot config for relocated NPM sources
2024-03-11 21:06:42 -06:00
Jerome Prinet
6800f3450a
Configure Dependabot to monitor .github/actions
2024-02-19 21:46:36 -07:00
daz
e2b14c9dfc
Run full-check on action.yml change
2024-02-13 13:10:30 -07:00
daz
b61dbd2545
Test no dependency-graph for failing build
2024-02-12 22:03:45 -07:00
daz
4b284311c3
Disable cache debug logging for workflows
...
This logging can now be enabled on a case-by-case basis using
GitHub Actions debugging.
2024-02-11 18:00:40 -07:00
dependabot[bot]
d31af7fbe2
Bump org.junit.jupiter:junit-jupiter
...
Bumps [org.junit.jupiter:junit-jupiter](https://github.com/junit-team/junit5 ) from 5.10.1 to 5.10.2.
- [Release notes](https://github.com/junit-team/junit5/releases )
- [Commits](https://github.com/junit-team/junit5/compare/r5.10.1...r5.10.2 )
---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-11 17:37:17 -07:00
Daz DeBoer
b776693a71
Fail nicely when dependency-submission is used after setup-gradle in the same Job ( #37 )
...
Previously, this would fail with a hard-to-diagnose error message.
Fixes #14
2024-02-08 23:16:54 -07:00
daz
2f23d645f2
Warn and make Gradle Wrapper script executable
...
Instead of failing the build, detect a non-executable wrapper file
and set the executable bit.
Fixes #17
2024-02-08 22:26:12 -07:00
daz
9c837ee543
Test dependency-submission with gradle versions
2024-02-08 21:55:52 -07:00
Goooler
bc07b88bc0
Update Gradle 8.6 rc refs to the final version
...
https://github.com/gradle/gradle/releases/tag/v8.6.0
Signed-off-by: Goooler <wangzongler@gmail.com>
2024-02-08 21:38:25 -07:00
daz
0ac0f49dd2
Replace 'v3-beta' with 'v3' in docs
2024-01-29 10:46:26 -07:00
daz
11fb430abc
Update dependency-submission parameter for consistency
...
Instead of using 'dependency-graph-action' with some slightly better
values, we now use 'dependency-graph' as the parameter name with a subset
of the options available to 'setup-gradle'.
2024-01-29 10:46:26 -07:00
daz
bdb2b520ea
Remove unnecessary workflows
2024-01-28 10:13:13 -07:00
daz
e833c3f088
Bump DV plugin version to 3.16.2
2024-01-26 12:58:26 -07:00
daz
f218f2e104
Prefer 'setup-gradle' to 'gradle-build-action'
2024-01-25 12:46:51 -07:00
daz
a628cf9f2e
Replace occurrances of gradle-build-action
...
- Mostly with `setup-gradle`
- Some with `gradle-actions`
2024-01-25 12:36:53 -07:00