Skip to content

Commit d93282a

Browse files
authored
Merge pull request #203 from dorny/update-node-and-dependencies
Update to node16 + recent versions of core and exec packages
2 parents 0d9714d + e54753f commit d93282a

File tree

7 files changed

+52
-97
lines changed

7 files changed

+52
-97
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ outputs:
8686
time:
8787
description: Test execution time [ms]
8888
runs:
89-
using: 'node12'
89+
using: 'node16'
9090
main: 'dist/index.js'
9191
branding:
9292
color: blue

dist/index.js

Lines changed: 38 additions & 62 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
"author": "Michal Dorner <dorner.michal@gmail.com>",
3131
"license": "MIT",
3232
"dependencies": {
33-
"@actions/core": "^1.2.6",
34-
"@actions/exec": "^1.0.4",
33+
"@actions/core": "^1.10.0",
34+
"@actions/exec": "^1.1.1",
3535
"@actions/github": "^5.0.3",
3636
"adm-zip": "^0.5.3",
3737
"fast-glob": "^3.2.5",

src/utils/exec.ts

Lines changed: 0 additions & 21 deletions
This file was deleted.

src/utils/git.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import * as core from '@actions/core'
2-
import exec from './exec'
2+
import {getExecOutput} from '@actions/exec'
33

44
export async function listFiles(): Promise<string[]> {
55
core.startGroup('Listing all files tracked by git')
66
let output = ''
77
try {
8-
output = (await exec('git', ['ls-files', '-z'])).stdout
8+
output = (await getExecOutput('git', ['ls-files', '-z'])).stdout
99
} finally {
1010
fixStdOutNullTermination()
1111
core.endGroup()

0 commit comments

Comments
 (0)