Daz DeBoer
c13dc6c789
Fix and re-enable test for save/restore config-cache
2022-05-29 17:27:11 -06:00
Daz DeBoer
5e6af67a5e
Fix CI-full-check for renamed workflow
2022-05-29 15:05:31 -06:00
Daz DeBoer
e32d23f291
Capitalize to improve ordering
2022-05-29 15:04:12 -06:00
Daz DeBoer
a880eab216
More consistent names for workflow jobs
2022-05-29 15:04:11 -06:00
Daz DeBoer
6c8fe00271
Fix typo in workflow
2022-05-29 14:49:05 -06:00
Daz DeBoer
0c3292abfb
Reduce overlap of ci workflows
2022-05-29 14:44:21 -06:00
Daz DeBoer
66050d88b2
Add workflow to purge old workflow runs
2022-05-29 14:32:16 -06:00
Daz DeBoer
1771c6f669
Temporarily disable failing test in quick-check
2022-05-29 14:32:16 -06:00
Daz DeBoer
acc77da702
Build distribution when running quick-check workflow
...
The action requires the generated distribution to committed to the 'dist' directory.
During regular development this step causes a number of problems:
- It's easy to forget to add/commit these generated files.
- It's very difficult/impossible to merge/rebase commits that involve generated files
- These file add unnecessary bulk to the git history
With this change, the quick-check workflow will first build the distribution and then
use the generated output for testing. Building and committing these files will only be
required when merging into the 'main' branch.
2022-05-29 14:25:12 -06:00
Daz DeBoer
bdb9f7fd28
Use shorter workflow names
2022-05-29 13:04:26 -06:00
Daz DeBoer
f9e15febb7
Restrict quick-check workflow to ubuntu for faster feedback
2022-05-29 13:04:26 -06:00
Daz DeBoer
1ba2a63e58
Fix restore-configuration-cache test workflow
...
The sequential jobs in the workflow emulate repeated execution of the
same Job, so they work better if given the same job id.
2022-05-29 13:03:24 -06:00
Daz DeBoer
c838a38ea1
Combine all integTest workflows into 2 workflow runs
...
- Workflow to run all integTest workflows, allowing use of prior cache entries
- Workflow that starts with empty cache
Both of these use workflow_call to combine the existing workflows.
2022-05-29 13:03:10 -06:00
Daz DeBoer
2bb20697b4
Rename config-cache jobs for clarity
2022-05-29 09:32:24 -06:00
Daz DeBoer
be62f7d934
Merge branch 'releases/v2.1'
...
* releases/v2.1:
Build outputs
Remove downloaded wrapper zips before caching
Fix typo in worklow step
2022-05-29 09:23:36 -06:00
Daz DeBoer
e3ceb00204
Fix typo in worklow step
2022-05-29 08:48:46 -06:00
Leonard Brünings
544da49fda
Disable minify to get smaller diffs and save space
...
Due to a limitation in ncc, the js files contain CRLF line endings
which are then converted by git.
2022-05-27 20:28:26 -06:00
Daz DeBoer
26ea4afa08
Use kotlin-dsl sample to demo failure
2022-05-24 16:51:53 +02:00
Daz DeBoer
dc49976071
Add manual test to demonstrate failing build
2022-05-24 15:00:47 +02:00
Daz DeBoer
fb99e07d58
Bump GE plugin to v3.10.1
2022-05-23 07:09:58 +02:00
Daz DeBoer
9f1e4d5588
Allow 10 Dependabot PRs in parallel
2022-05-15 10:16:19 -06:00
Daz DeBoer
78039b1f7f
Bump com.gradle.enterprise from 3.9 to 3.10
2022-04-19 16:38:47 -06:00
Daz DeBoer
503956ef9b
Merge pull request #235 from gradle/wrapperbot/gradle-build-action-sample-gradle-plugin/gradle-wrapper-7.4.2
...
Bump Gradle Wrapper from 7.4.2 to 7.4.2 in /.github/workflow-samples/gradle-plugin
2022-04-05 10:07:17 -06:00
Daz DeBoer
3ad927eab1
Merge pull request #236 from gradle/wrapperbot/gradle-build-action-sample-groovy-dsl/gradle-wrapper-7.4.2
...
Bump Gradle Wrapper from 7.4.2 to 7.4.2 in /.github/workflow-samples/groovy-dsl
2022-04-05 10:06:57 -06:00
Daz DeBoer
1b2936fed4
Merge pull request #237 from gradle/wrapperbot/gradle-build-action-sample-java-toolchain/gradle-wrapper-7.4.2
...
Bump Gradle Wrapper from 7.4.2 to 7.4.2 in /.github/workflow-samples/java-toolchain
2022-04-05 10:06:46 -06:00
bot-githubaction
191094ccb5
Bump Gradle Wrapper from 7.4.2 to 7.4.2 in /.github/workflow-samples/kotlin-dsl
2022-04-05 16:03:03 +00:00
bot-githubaction
a748ca2efa
Bump Gradle Wrapper from 7.4.2 to 7.4.2 in /.github/workflow-samples/java-toolchain
2022-04-05 16:02:39 +00:00
bot-githubaction
501cd3b4dc
Bump Gradle Wrapper from 7.4.2 to 7.4.2 in /.github/workflow-samples/groovy-dsl
2022-04-05 16:02:22 +00:00
bot-githubaction
9b724c303e
Bump Gradle Wrapper from 7.4.2 to 7.4.2 in /.github/workflow-samples/gradle-plugin
2022-04-05 16:02:03 +00:00
Daz DeBoer
3c3fdfcc0c
Moved workflow samples out of .github/workflows
...
The `.github/workflows` directory has additional permissions attached, preventing these
files from being by the Upgrade Gradle Wrapper plugin.
2022-04-05 09:55:31 -06:00
Daz DeBoer
cde360986c
Improve sample for build-scan comment on PR
2022-04-04 15:12:03 -06:00
Daz DeBoer
72e45fe25b
Only run workflows when relevant files change
2022-04-02 12:51:23 -06:00
Daz DeBoer
cfe0b72a03
Bump to GE plugin v3.9
2022-04-02 12:45:18 -06:00
Daz DeBoer
a6bb0f87a3
Reformat Groovy to trigger Dependabot
2022-04-02 12:40:57 -06:00
Daz DeBoer
a1bb3349df
Bump Jnit version in samples
2022-04-02 12:37:16 -06:00
Daz DeBoer
aabb2db775
Move workflow samples under .github
2022-04-02 12:33:04 -06:00
Daz DeBoer
01def677bf
Ensure all Gradle samples are checked by Dependabot
2022-04-02 11:34:54 -06:00
Daz DeBoer
73602de30a
Update test for wrapper upgrade
2022-04-02 11:20:31 -06:00
Daz DeBoer
92de6969aa
Configure dependabot to update Gradle plugins
...
The test Gradle sample apps reference plugins, and it's good to keep these
updated (particularly the GE plugin).
Minor changes to the build scripts were required to satisfy Dependabot.
2022-03-18 06:41:31 -06:00
Daz DeBoer
53af4d4f57
Fix check for config-cache usage
...
Now that environment variable reads are auto-detected by Gradle 7.4,
we need a different mechanism to check that the configuration cache is
being used successfully.
2022-03-17 11:15:38 -06:00
bot-githubaction
b10e7caf66
Bump Gradle Wrapper 7.4.1 in __tests__/samples
2022-03-16 13:18:21 -06:00
Daz DeBoer
3f03131b48
Allow members to push commits without sign-off
2022-03-16 13:17:50 -06:00
Daz DeBoer
adcc4faa55
Prevent concurrent running of integ-test workflows
2022-03-14 13:28:54 -06:00
Daz DeBoer
800e52f373
Run all tests on macos-latest
2022-02-03 09:11:06 -07:00
Daz DeBoer
bc3340afc5
Tell dependabot to ignore @types/node
2022-01-27 09:07:17 -07:00
Daz DeBoer
5f1def5815
Enable dependabot updates
2022-01-27 08:43:59 -07:00
Daz DeBoer
08d5b40ca5
Add experimental support for 'cache-write-only'
...
There may be cases where it a "fresh" cache entry would be beneficial,
for example if the Gradle User Home cache entry grows over time.
This setting would run the build as if no prior cache entry exists.
2022-01-20 15:04:11 -07:00
Daz DeBoer
4f616f683a
Include github.run_attempt in test cache keys
...
This change to the integration tests should properly isolate multiple runs of the same job.
Previously, some jobs would fail if you attempted to re-run them via the UI, because the cache
entries would be re-used from the previous run.
2022-01-18 10:52:22 -07:00
Daz DeBoer
755aebc7d1
Test build-scan capture with pre-existing GUH
2022-01-17 14:44:31 -07:00
Daz DeBoer
97a4d7a5fd
Test build-scan capture works with cache-disabled
2022-01-17 14:29:11 -07:00