Daz DeBoer and GitHub
94d04eaa0d
Fix typo in README
2022-05-15 18:33:34 -06:00
Daz DeBoer
116ac10f81
Bump dependencies
...
Production deps:
- Bump @actions/tool-cache from 1.7.2 to 2.0.1
- Bump @actions/http-client from 1.0.11 to 2.0.1
- Bump @actions/github from 5.0.1 to 5.0.3
- Bump @actions/cache from 2.0.2 to 2.0.4
Dev deps:
- Bump eslint from 8.14.0 to 8.15.0
- Bump eslint-plugin-jest from 26.2.0 to 26.2.2
- Bump jest from 27.5.1 to 28.1.0
- Bump ts-jst from 27.1.4 to 28.0.2
2022-05-15 10:27:50 -06:00
Daz DeBoer
9f1e4d5588
Allow 10 Dependabot PRs in parallel
2022-05-15 10:16:19 -06:00
Daz DeBoer
f1c309a163
Simplify Jest setup
...
- Remove explicit dependency on jest-circus: this is now the default runner
- Remove test timeout setting
- Remove @types/jest from explicit dependencies
2022-05-15 09:52:50 -06:00
Daz DeBoer
202e4e0271
Bump various dependencies
...
Production deps:
- Bump @actions/core:1.6.0 to 1.8.2
Development deps:
- Bump typescript from 4.6.3 to 4.6.4
- Bump @typescript-eslint/parser from 5.20.0 to 5.23.0
- Bump eslint-plugin-jest from 26.1.4 to 26.2.0
- Switch from deprecated @zeit/ncc to @vercel/ncc
2022-05-15 09:49:27 -06:00
Daz DeBoer and GitHub
c3afc518f5
Merge pull request #250 from gradle/dependabot/npm_and_yarn/eslint-8.14.0
...
Bump eslint from 8.13.0 to 8.14.0
2022-04-23 20:18:42 -06:00
Daz DeBoer and GitHub
04df35b994
Update changes for upcoming release
2022-04-19 19:26:51 -06:00
Daz DeBoer and GitHub
0fa1a8d680
Merge pull request #243 from osfanbuff63/main
...
Fix readme markdown
2022-04-19 16:40:18 -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
b147a594b1
Bump @actions/glob to v0.3.0
2022-04-19 16:36:26 -06:00
Daz DeBoer and GitHub
5298cab81e
Merge pull request #245 from gradle/dependabot/npm_and_yarn/typescript-eslint/parser-5.20.0
...
Bump @typescript-eslint/parser from 5.19.0 to 5.20.0
2022-04-19 08:05:11 -06:00
Daz DeBoer and GitHub
90fd69fffb
Merge pull request #242 from gradle/dependabot/npm_and_yarn/typescript-eslint/parser-5.19.0
...
Bump @typescript-eslint/parser from 5.18.0 to 5.19.0
2022-04-12 06:40:59 -06:00
Daz DeBoer
27c4618d3e
Bump @actions/cache from 2.0.1 to 2.0.2
2022-04-11 11:55:03 -07:00
Daz DeBoer and GitHub
9f79f97603
Merge pull request #241 from gradle/dependabot/npm_and_yarn/eslint-plugin-jest-26.1.4
...
Bump eslint-plugin-jest from 26.1.3 to 26.1.4
2022-04-11 12:50:26 -06:00
Daz DeBoer and GitHub
fdce5083a7
Merge pull request #240 from gradle/dependabot/npm_and_yarn/eslint-8.13.0
...
Bump eslint from 8.12.0 to 8.13.0
2022-04-11 12:50:15 -06:00
Daz DeBoer and GitHub
9230b19200
Fix typo in README
2022-04-06 11:30:02 -06:00
Daz DeBoer and GitHub
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 and GitHub
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 and GitHub
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
Daz DeBoer and GitHub
f313ba7cbe
Merge pull request #238 from gradle/wrapperbot/gradle-build-action-sample-kotlin-dsl/gradle-wrapper-7.4.2
...
Bump Gradle Wrapper from 7.4.2 to 7.4.2 in /.github/workflow-samples/kotlin-dsl
2022-04-05 10:06:31 -06: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
3317bc450c
Bump @actions/cache from 2.0.0 to 2.0.1
2022-04-04 21:46:52 -06:00
Daz DeBoer
0e24fa1975
Save/restore exploded Gradle dist rather than zip
...
To save space, future versions of Gradle are likely to delete the downloaded distribution
after extracting it. See gradle/gradle#3605 and gradle/gradle#19495 .
To cater for this we will now save/restore the extracted distribution rather than the
downloaded zip file.
2022-04-04 21:43:31 -06:00
Daz DeBoer and GitHub
bd717aced6
Merge pull request #233 from gradle/dependabot/npm_and_yarn/typescript-eslint/parser-5.18.0
...
Bump @typescript-eslint/parser from 5.17.0 to 5.18.0
2022-04-04 21:29:30 -06:00
Daz DeBoer
cde360986c
Improve sample for build-scan comment on PR
2022-04-04 15:12:03 -06:00
Daz DeBoer and GitHub
ff8a687227
Document use of upload-artifact to save build outputs
2022-04-04 15:07:16 -06:00
Daz DeBoer
f78055c629
Bump prettier to 2.6.2
2022-04-02 13:21:56 -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 and GitHub
aeb23a4bdd
Merge pull request #222 from gradle/dependabot/npm_and_yarn/actions/github-5.0.1
...
Bump @actions/github from 5.0.0 to 5.0.1
2022-04-02 09:53:09 -06:00
Daz DeBoer and GitHub
0a03a96401
Merge pull request #226 from gradle/wrapperbot/gradle-build-action-sample-kotlin-dsl/gradle-wrapper-7.4.2
...
Bump Gradle Wrapper from 7.4.1 to 7.4.2 in /__tests__/samples/kotlin-dsl
2022-04-02 09:52:54 -06:00
Daz DeBoer and GitHub
3793ab6467
Merge pull request #225 from gradle/wrapperbot/gradle-build-action-sample-java-toolchain/gradle-wrapper-7.4.2
...
Bump Gradle Wrapper from 7.4.1 to 7.4.2 in /__tests__/samples/java-toolchain
2022-04-02 09:52:42 -06:00
Daz DeBoer and GitHub
295371713e
Merge pull request #224 from gradle/wrapperbot/gradle-build-action-sample-groovy-dsl/gradle-wrapper-7.4.2
...
Bump Gradle Wrapper from 7.4.1 to 7.4.2 in /__tests__/samples/groovy-dsl
2022-04-02 09:52:31 -06:00
Daz DeBoer and GitHub
c616a64390
Merge pull request #223 from gradle/wrapperbot/gradle-build-action-sample-gradle-plugin/gradle-wrapper-7.4.2
...
Bump Gradle Wrapper from 7.4.1 to 7.4.2 in /__tests__/samples/gradle-plugin
2022-04-02 09:52:18 -06:00
Daz DeBoer and GitHub
f2b17e4179
Prepare for next release
2022-03-29 13:53:29 -06:00
Daz DeBoer and GitHub
fec4a42eb0
Update changelog for v2.1.5
2022-03-29 13:43:53 -06:00
Daz DeBoer
50d833aa5b
Dependency upgrades
...
- Bump ts-jest from 27.1.3 to 27.1.4
- Bump prettier from 2.6.0 to 2.6.1.
- Bump eslint from 8.11.0 to 8.12.0.
2022-03-29 08:11:43 -06:00
Daz DeBoer and GitHub
df274d47a3
Merge pull request #217 from gradle/dependabot/npm_and_yarn/typescript-eslint/parser-5.17.0
...
Bump @typescript-eslint/parser from 5.15.0 to 5.17.0
2022-03-29 08:06:58 -06:00
Daz DeBoer and GitHub
e9f450e1ba
Merge pull request #218 from gradle/dd/dependency-upgrades
...
Upgrade various dependencies
2022-03-28 22:07:11 -06:00
Daz DeBoer
ba0737b352
Build outputs
2022-03-28 14:04:10 -06:00
Daz DeBoer
09f46b2da6
Update to @actions/cache v2.0.0
2022-03-28 14:04:06 -06:00
Daz DeBoer
d7b4f42aa6
Bump typescript from 4.6.2 to 4.6.3
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.6.2 to 4.6.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.6.2...v4.6.3 )
2022-03-28 13:29:11 -06:00
Daz DeBoer
be330a1b19
Bump @typescript-eslint/parser from 5.15.0 to 5.16.0
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 5.15.0 to 5.16.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.16.0/packages/parser )
2022-03-28 13:28:42 -06:00
Daz DeBoer
32663c1b4d
Bump eslint-plugin-jest from 26.1.1 to 26.1.3
...
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest ) from 26.1.1 to 26.1.3.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases )
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v26.1.1...v26.1.3 )
2022-03-28 13:27:03 -06:00
Daz DeBoer
0d0b1b386e
Bump eslint-plugin-github from 4.3.5 to 4.3.6
...
Bumps [eslint-plugin-github](https://github.com/github/eslint-plugin-github ) from 4.3.5 to 4.3.6.
- [Release notes](https://github.com/github/eslint-plugin-github/releases )
- [Commits](https://github.com/github/eslint-plugin-github/compare/v4.3.5...v4.3.6 )
2022-03-28 13:24:39 -06:00
Daz DeBoer and GitHub
c75c228a38
Merge pull request #211 from gradle/dependabot/npm_and_yarn/minimist-1.2.6
...
Bump minimist from 1.2.5 to 1.2.6
2022-03-28 13:17:36 -06:00
Daz DeBoer and GitHub
8a7ba1315b
Prepare for next round of development
2022-03-19 15:40:52 -06:00
Daz DeBoer
0d13054264
Log stack trace for cache errors
2022-03-18 13:56:40 -06:00
Daz DeBoer and GitHub
f1d0d15603
Merge pull request #204 from gradle/dependabot/gradle/__tests__/samples/kotlin-dsl/com.gradle.enterprise-3.9
...
Bump com.gradle.enterprise from 3.7 to 3.9 in /__tests__/samples/kotlin-dsl
2022-03-18 06:58:01 -06:00
Daz DeBoer and GitHub
857b1415c7
Merge pull request #203 from gradle/dependabot/gradle/__tests__/samples/no-wrapper/com.gradle.enterprise-3.9
...
Bump com.gradle.enterprise from 3.7 to 3.9 in /__tests__/samples/no-wrapper
2022-03-18 06:57:44 -06:00
Daz DeBoer and GitHub
9edc64b62f
Merge pull request #202 from gradle/dependabot/gradle/__tests__/samples/kotlin-dsl/org.junit.jupiter-junit-jupiter-5.8.2
...
Bump junit-jupiter from 5.7.2 to 5.8.2 in /__tests__/samples/kotlin-dsl
2022-03-18 06:56:32 -06:00
Daz DeBoer and GitHub
fd236b26bd
Merge pull request #201 from gradle/dependabot/gradle/__tests__/samples/kotlin-dsl/com.google.guava-guava-31.1-jre
...
Bump guava from 30.1.1-jre to 31.1-jre in /__tests__/samples/kotlin-dsl
2022-03-18 06:55:19 -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
f64fe7765c
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).
2022-03-18 06:21:44 -06:00
Daz DeBoer
b64a252d1c
Move patch-package to devDependencies
...
This module is not required for production code.
2022-03-18 05:57:43 -06:00
Daz DeBoer
d700906a15
Update dependency versions
...
- @actions/cache 1.0.9 -> 1.0.10
- @actions/exec 1.1.0 -> 1.1.1
- @actions/glob 0.2.0 -> 0.2.1
- @actions/tool-cache 1.7.1 -> 1.7.2
2022-03-18 05:51:44 -06:00
Daz DeBoer
e706aba73c
Update development dependencies
...
- prettier 2.5.1 -> 2.6.0
- eslint 8.10.0 -> 8.11.0
- @typescript-eslint/parser 5.13.0 -> 5.15.0
2022-03-17 11:25:41 -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
Daz DeBoer and GitHub
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
db5c425004
Bump versions for devDependencies
...
- typescript 4.5.5 -> 4.6.2
- @typescipt-eslint/parser 5.12.1 -> 5.13.0
- eslint 8.9.0 -> 8.10.0
2022-03-02 13:47:44 -07:00
Daz DeBoer
8827545ceb
Upgrade to actions/cache v1.0.9
2022-02-22 13:13:39 -07:00
Daz DeBoer
971ff49395
Update all devDependencies
2022-02-22 13:05:45 -07:00
Daz DeBoer and GitHub
937999e9cc
Merge pull request #156 from gradle/test-macos
...
Fix detection of Gradle User Home on macOS runners
2022-02-03 10:08:11 -07:00
Daz DeBoer
a0998071eb
Build outputs
2022-02-03 09:55:51 -07:00
Daz DeBoer
53e57a851c
Make Gradle Home detection compatible with MacOS
...
MacOS runners are initialized with a Gradle User Home directory including
the `~/.gradle/notifications` directory. This was causing the action to skip
restoring the Gradle User Home on MacOS.
This fix limits the pre-existing GUH check to the `~/.gradle/caches` directory
which isn't pre-initialized in the runner.
Fixes #155
2022-02-03 09:46:37 -07:00
Daz DeBoer
800e52f373
Run all tests on macos-latest
2022-02-03 09:11:06 -07:00
Daz DeBoer
6dd3b19f8f
Update to @types/node:v16.11.21
2022-01-31 14:14:53 -07:00
Daz DeBoer
6f4fa19a5b
Update to @typescript-eslint/parser@5.10.2
2022-01-31 14:10:03 -07:00
Daz DeBoer
bc3340afc5
Tell dependabot to ignore @types/node
2022-01-27 09:07:17 -07:00
Daz DeBoer and GitHub
5f1def5815
Enable dependabot updates
2022-01-27 08:43:59 -07:00
Daz DeBoer and GitHub
5a7191522f
Merge pull request #144 from gradle/npm-hygiene
...
Perform NPM hygiene
2022-01-27 08:36:38 -07:00
Daz DeBoer
893f0e10c7
Build outputs
2022-01-27 08:23:46 -07:00
Daz DeBoer
d5e58c8a04
Update many NPM dependencies to newer versions
2022-01-27 08:23:14 -07:00
Daz DeBoer
2920a48bbc
Run npm audit fix
...
This updates 'node-fetch' to a version without CVE
2022-01-27 08:22:45 -07:00
Daz DeBoer
1904e7e80d
Upgradle to use node v16
2022-01-27 08:22:29 -07:00
Daz DeBoer
702bb97ecb
Do not overwrite existing gradle.properties
2022-01-24 15:18:11 -07:00
Daz DeBoer
b9c806c75d
Fix example in action.yml
2022-01-24 15:08:55 -07:00
Daz DeBoer and GitHub
d2799e6f98
Merge pull request #142 from gradle/strict-cache-match
...
Improves logging for caching, and adds 2 experimental cache options:
- `gradle-home-cache-strict-match`: Avoid re-using a Gradle Home cache entry written by a different job. Only cache entries written by the current Job will be used.
- `cache-write-only`: Do not restore existing cache entries, but still save cache entries in post-action. Fixes #141 .
2022-01-24 12:56:25 -07:00
Daz DeBoer
2734714920
Build outputs
2022-01-21 08:09:33 -07:00
Daz DeBoer
f75a3e8436
Make build-scan notice a WARNING for failed builds
2022-01-21 08:09:32 -07:00
Daz DeBoer
c349fa5b1f
Do not hide ReserveCacheError failures
...
When the target entry already exists, we are unable to save. Ensuring this situation
is logged helps make the logs more understandable.
2022-01-21 08:08:32 -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
0a5ede19a9
Improve cache-reporting when entry already exists
2022-01-20 15:04:11 -07:00
Daz DeBoer
a23ac1d61c
Add experimental support for 'strict-match' caching
...
By default, the action will attempt to restore a Gradle User Home
cache entry from a different set of matrix inputs (or a different Job entirely)
if an existing entry is not found for the current Job (including matrix inputs).
By specifying the experimental `gradle-home-cache-strict-match` parameter, a user
can avoid this fuzzy matching and ensure that a job execution starts with an
empty Gradle User Home if no entry from a prior execution is found.
2022-01-20 15:03:54 -07:00
Daz DeBoer and GitHub
a8da4e5ca3
Merge pull request #140 from gradle/cache-disable
...
Fix Build Scan capture when cache is disabled
With the change to use init-scripts to inject Build Scan capture, this functionality broke when caching was disabled and Gradle User Home wasn't initialized.
This PR fixes a couple of issues and ensures that the Gradle User Home is initialized even when it is not restored from the GitHub Actions cache.
Fixes #138
Fixes #139
2022-01-19 11:31:29 -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
222b714890
Build outputs
2022-01-17 14:44:32 -07:00
Daz DeBoer
7dee0f45c2
Fix check for pre-existing Gradle User Home
2022-01-17 14:44:32 -07:00
Daz DeBoer
50ca2bca83
Improve messages for cache-disabled scenario
2022-01-17 14:44:32 -07:00
Daz DeBoer
3aa7bfe163
Initialize pre-existing Gradle User Home
2022-01-17 14:44:32 -07:00
Daz DeBoer
755aebc7d1
Test build-scan capture with pre-existing GUH
2022-01-17 14:44:31 -07:00
Daz DeBoer
06d64212d3
Initialize the Gradle User Home even when caching is disabled
2022-01-17 14:29:11 -07:00
Daz DeBoer
97a4d7a5fd
Test build-scan capture works with cache-disabled
2022-01-17 14:29:11 -07:00
Daz DeBoer
a7260b277e
Specify mandatory 'distribution' arg for setup-java
2022-01-17 14:28:53 -07:00