Skip to content

Commit f2eae6b

Browse files
committed
tools: add update script for googletest
GoogleTest follows the Abseil Live at Head philosophy, and rarely creates tags or GitHub releases, so instead, follow Google's recommendation and update to the upstream HEAD every once in a while. The tricky bit is properly updating googletest.gyp, and this script might fail doing so in the future. Refs: nodejs/security-wg#828
1 parent 4f0e192 commit f2eae6b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/tools.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ on:
2323
- corepack
2424
- doc
2525
- eslint
26+
- googletest
2627
- libuv
2728
- lint-md-dependencies
2829
- llhttp
@@ -235,6 +236,14 @@ jobs:
235236
cat temp-output
236237
tail -n1 temp-output | grep "NEW_VERSION=" >> "$GITHUB_ENV" || true
237238
rm temp-output
239+
- id: googletest
240+
subsystem: deps
241+
label: dependencies, test
242+
run: |
243+
./tools/dep_updaters/update-googletest.sh > temp-output
244+
cat temp-output
245+
tail -n1 temp-output | grep "NEW_VERSION=" >> "$GITHUB_ENV" || true
246+
rm temp-output
238247
steps:
239248
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
240249
if: github.event_name == 'schedule' || inputs.id == 'all' || inputs.id == matrix.id

0 commit comments

Comments
 (0)