1167 Commits

Author SHA1 Message Date
Daz DeBoer
ef638c00fd
Add 'build' goal for check + dist without test 2022-08-22 13:49:13 -06:00
Daz DeBoer
05257c7a5f
Merge branch 'dd/cache-read-timeout'
* dd/cache-read-timeout:
  Build outputs
  Extract constant for Env Var name
  Remove custom option for cache-read-timeout
  Use actions/cache v3.0.4
2022-08-22 13:44:13 -06:00
Daz DeBoer
c1a6f51e61
Fix paths that trigger init-script-check 2022-08-22 13:44:04 -06:00
Daz DeBoer
865815e1b6
Build outputs 2022-08-22 13:30:44 -06:00
Daz DeBoer
eb22e65b5b
Extract constant for Env Var name 2022-08-22 13:30:07 -06:00
Daz DeBoer
8a386f6915
Remove custom option for cache-read-timeout
Now that `@actions/cache` provides a env var override, we can remove our
custom configuration for setting the timeout on cache restore operations.

If the env var is NOT set, we continue to override the 60min default with 10mins.
2022-08-22 13:13:20 -06:00
Daz DeBoer
84bc83e639
Use actions/cache v3.0.4 2022-08-22 13:05:13 -06:00
Daz DeBoer
cd579d970f
Build outputs v2.2.5 2022-08-18 17:19:11 -06:00
Daz DeBoer
f0ec7fb780
Remove 'followSymbolicLinks: false' flag for Globber
It appears that when restoring the Gradle User Home directory, certain empty
directories are being identified by Node as broken symlinks. This results in
`Error: ENOENT: No such file or directory` when attempting to resolve a Glob pattern.

By using the default behaviour of Globber (followSymbolicLinks && ignoreBrokenLinks),
these bad files no longer cause errors when saving the Gradle User Home to cache.

Fixes #408
2022-08-18 17:10:03 -06:00
Daz DeBoer
bf2a15ee94
Fix cache-read-only for scheduled jobs
The fix for #383 introduced a bug that caused the post-action to fail when
attemping to resolve `cache-read-only` for scheduled jobs.
This has been fixed with an explicit (rather than implicit) check for 'event.repository != null'.

Fixes #409
v2.2.4
2022-08-18 12:35:47 -06:00
Daz DeBoer
c85b5e1be7
Run full-check when workflow-samples change 2022-08-17 14:53:21 -06:00
Daz DeBoer
330980897f
Update to republished CCUD plugin version 2022-08-17 14:03:35 -06:00
Daz DeBoer
9411346324
Build outputs v2.2.3 2022-08-16 17:55:14 -06:00
Daz DeBoer
8f9b7c7d7f
Add a configurable timeout for cache reads
Fixes #369
2022-08-16 17:37:41 -06:00
Daz DeBoer
8df5664474
Simplify patch 2022-08-16 17:30:58 -06:00
Daz DeBoer
25e9b4d3f6
Build outputs 2022-08-16 16:38:03 -06:00
Daz DeBoer
b49446f8e1
Improved cache reporting
- Fix count of saved entries
- Catch and report errors on save and restore
- Correctly report entries that are never requested
2022-08-16 16:37:17 -06:00
Daz DeBoer
cbebff71e9
Allow action to handle cache errors
This commit reverts the change in v3.0.0 of @actions/cache, that
causes cache errors to be logged and swallowed. By allowing these
errors to propogate, the action can take appropriate action and
provide useful error messages.

Fixes #407
2022-08-16 15:18:43 -06:00
Daz DeBoer
e4e8267f88
Don't set cache-read-only for scheduled workflows
For scheduled workflows, we don't know the default branch. In this case cannot determine if
the workflow is running on the default branch, and so cannot know when to enable `cache-read-only`.

Fixes #383
2022-08-16 11:08:42 -06:00
Daz DeBoer
1e61c9a322
Merge pull request #405 from gradle/dependabot/gradle/dot-github/workflow-samples/kotlin-dsl/com.gradle.common-custom-user-data-gradle-plugin-1.8.0
Bump com.gradle.common-custom-user-data-gradle-plugin from 1.7.2 to 1.8.0 in /.github/workflow-samples/kotlin-dsl
2022-08-15 19:25:44 -06:00
Daz DeBoer
1a981dbaeb
Merge pull request #404 from gradle/dependabot/gradle/dot-github/workflow-samples/groovy-dsl/com.gradle.common-custom-user-data-gradle-plugin-1.8.0
Bump com.gradle.common-custom-user-data-gradle-plugin from 1.7.2 to 1.8.0 in /.github/workflow-samples/groovy-dsl
2022-08-15 19:25:31 -06:00
Daz DeBoer
58e9059de1
Update development dependencies 2022-08-15 19:04:16 -06:00
Daz DeBoer
a62a2e6297
Build outputs 2022-08-15 19:02:19 -06:00
Daz DeBoer
daa635c20c
Bump @actions/cache from 3.0.1 to 3.0.3
Bumps [@actions/cache](https://github.com/actions/toolkit/tree/HEAD/packages/cache) from 3.0.1 to 3.0.3.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/cache/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/cache)

---
updated-dependencies:
- dependency-name: "@actions/cache"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-15 18:59:25 -06:00
dependabot[bot]
9ee08ff30d
Bump com.gradle.common-custom-user-data-gradle-plugin
Bumps com.gradle.common-custom-user-data-gradle-plugin from 1.7.2 to 1.8.0.

---
updated-dependencies:
- dependency-name: com.gradle.common-custom-user-data-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-15 22:41:17 +00:00
dependabot[bot]
f4ef189a47
Bump com.gradle.common-custom-user-data-gradle-plugin
Bumps com.gradle.common-custom-user-data-gradle-plugin from 1.7.2 to 1.8.0.

---
updated-dependencies:
- dependency-name: com.gradle.common-custom-user-data-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-15 22:41:14 +00:00
Daz DeBoer
8e9c25766c
Merge branch 'dd/dependency-upgrades'
Update patch for @actions/cache@v3.0.1
  Bump @actions/cache from 3.0.0 to 3.0.1
  Bump @actions/core from 1.9.0 to 1.9.1
2022-08-15 13:02:16 -06:00
Daz DeBoer
8ca744f938
Build outputs 2022-08-15 12:50:44 -06:00
Daz DeBoer
f1b090783c
Update patch for @actions/cache@v3.0.1 2022-08-15 12:49:40 -06:00
dependabot[bot]
8624823510
Bump @actions/cache from 3.0.0 to 3.0.1
Bumps [@actions/cache](https://github.com/actions/toolkit/tree/HEAD/packages/cache) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/cache/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/cache)

---
updated-dependencies:
- dependency-name: "@actions/cache"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-15 12:48:25 -06:00
dependabot[bot]
203397ae27
Bump @actions/core from 1.9.0 to 1.9.1
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

---
updated-dependencies:
- dependency-name: "@actions/core"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-15 12:45:59 -06:00
Daz DeBoer
2aee3e724e
Merge pull request #385 from gradle/wrapperbot/gradle-build-action-sample-groovy-dsl/gradle-wrapper-7.5.1
Bump Gradle Wrapper from 7.5 to 7.5.1 in /.github/workflow-samples/groovy-dsl
2022-08-15 12:40:55 -06:00
Daz DeBoer
a1707fcc88
Avoid gradle-version-check when testing execution with latest
This should make merging Gradle update PRs easier.
2022-08-15 12:37:19 -06:00
Iñaki Villar
b173558d72
Merge pull request #395 from gradle/dependabot/gradle/dot-github/workflow-samples/no-wrapper/com.gradle.enterprise-3.11.1
Bump com.gradle.enterprise from 3.10.3 to 3.11.1 in /.github/workflow-samples/no-wrapper
2022-08-11 17:50:29 -07:00
Iñaki Villar
d1ddcc2b6a
Merge pull request #396 from gradle/dependabot/gradle/dot-github/workflow-samples/no-wrapper-gradle-5/com.gradle.build-scan-3.11.1
Bump com.gradle.build-scan from 3.10.3 to 3.11.1 in /.github/workflow-samples/no-wrapper-gradle-5
2022-08-11 17:50:01 -07:00
Iñaki Villar
1f2d557283
Merge pull request #394 from gradle/dependabot/gradle/dot-github/workflow-samples/groovy-dsl/com.gradle.enterprise-3.11.1
Bump com.gradle.enterprise from 3.10.3 to 3.11.1 in /.github/workflow-samples/groovy-dsl
2022-08-11 17:47:57 -07:00
Iñaki Villar
544b84f77b
Merge pull request #397 from gradle/dependabot/gradle/dot-github/workflow-samples/kotlin-dsl/com.gradle.enterprise-3.11.1
Bump com.gradle.enterprise from 3.10.3 to 3.11.1 in /.github/workflow-samples/kotlin-dsl
2022-08-11 17:47:06 -07:00
dependabot[bot]
23d17c1372
Bump com.gradle.enterprise in /.github/workflow-samples/kotlin-dsl
Bumps com.gradle.enterprise from 3.10.3 to 3.11.1.

---
updated-dependencies:
- dependency-name: com.gradle.enterprise
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-10 23:58:50 +00:00
dependabot[bot]
ba3953a01d
Bump com.gradle.enterprise in /.github/workflow-samples/no-wrapper
Bumps com.gradle.enterprise from 3.10.3 to 3.11.1.

---
updated-dependencies:
- dependency-name: com.gradle.enterprise
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-10 23:58:49 +00:00
dependabot[bot]
02e50e0dcd
Bump com.gradle.build-scan
Bumps com.gradle.build-scan from 3.10.3 to 3.11.1.

---
updated-dependencies:
- dependency-name: com.gradle.build-scan
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-10 23:58:49 +00:00
dependabot[bot]
cd48d2d9f1
Bump com.gradle.enterprise in /.github/workflow-samples/groovy-dsl
Bumps com.gradle.enterprise from 3.10.3 to 3.11.1.

---
updated-dependencies:
- dependency-name: com.gradle.enterprise
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-10 23:58:49 +00:00
Nelson Osacky
a81a96bcb6
Merge pull request #390 from gradle/dependabot/npm_and_yarn/typescript-eslint/parser-5.33.0
Bump @typescript-eslint/parser from 5.32.0 to 5.33.0
2022-08-10 08:46:28 +02:00
Nelson Osacky
7a5430f22f
Merge pull request #393 from gradle/dependabot/npm_and_yarn/eslint-plugin-jest-26.8.1
Bump eslint-plugin-jest from 26.7.0 to 26.8.1
2022-08-10 08:45:54 +02:00
dependabot[bot]
6b46ca579b
Bump eslint-plugin-jest from 26.7.0 to 26.8.1
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 26.7.0 to 26.8.1.
- [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.7.0...v26.8.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-08 22:16:59 +00:00
dependabot[bot]
933706c9f3
Bump @typescript-eslint/parser from 5.32.0 to 5.33.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.32.0 to 5.33.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.33.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-08 22:15:52 +00:00
Nelson Osacky
f524932f69
Merge pull request #387 from gradle/wrapperbot/gradle-build-action-sample-kotlin-dsl/gradle-wrapper-7.5.1
Bump Gradle Wrapper from 7.5 to 7.5.1 in /.github/workflow-samples/kotlin-dsl
2022-08-08 09:56:36 +02:00
Nelson Osacky
115127d4c2
Merge pull request #386 from gradle/wrapperbot/gradle-build-action-sample-java-toolchain/gradle-wrapper-7.5.1
Bump Gradle Wrapper from 7.5 to 7.5.1 in /.github/workflow-samples/java-toolchain
2022-08-08 09:56:21 +02:00
Nelson Osacky
115f70f942
Merge pull request #384 from gradle/wrapperbot/gradle-build-action-sample-gradle-plugin/gradle-wrapper-7.5.1
Bump Gradle Wrapper from 7.5 to 7.5.1 in /.github/workflow-samples/gradle-plugin
2022-08-08 09:55:11 +02:00
bot-githubaction
1c23b66302
Bump Gradle Wrapper from 7.5 to 7.5.1 in /.github/workflow-samples/kotlin-dsl 2022-08-06 02:49:51 +00:00
bot-githubaction
7a714ca5cb
Bump Gradle Wrapper from 7.5 to 7.5.1 in /.github/workflow-samples/java-toolchain 2022-08-06 02:49:30 +00:00