Skip to content

Commit

Permalink
Merge pull request #203 from dorny/update-node-and-dependencies
Browse files Browse the repository at this point in the history
Update to node16 + recent versions of core and exec packages
  • Loading branch information
dorny authored Oct 13, 2022
2 parents 0d9714d + e54753f commit d93282a
Show file tree
Hide file tree
Showing 7 changed files with 52 additions and 97 deletions.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ outputs:
time:
description: Test execution time [ms]
runs:
using: 'node12'
using: 'node16'
main: 'dist/index.js'
branding:
color: blue
Expand Down
100 changes: 38 additions & 62 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"author": "Michal Dorner <[email protected]>",
"license": "MIT",
"dependencies": {
"@actions/core": "^1.2.6",
"@actions/exec": "^1.0.4",
"@actions/core": "^1.10.0",
"@actions/exec": "^1.1.1",
"@actions/github": "^5.0.3",
"adm-zip": "^0.5.3",
"fast-glob": "^3.2.5",
Expand Down
21 changes: 0 additions & 21 deletions src/utils/exec.ts

This file was deleted.

4 changes: 2 additions & 2 deletions src/utils/git.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import * as core from '@actions/core'
import exec from './exec'
import {getExecOutput} from '@actions/exec'

export async function listFiles(): Promise<string[]> {
core.startGroup('Listing all files tracked by git')
let output = ''
try {
output = (await exec('git', ['ls-files', '-z'])).stdout
output = (await getExecOutput('git', ['ls-files', '-z'])).stdout
} finally {
fixStdOutNullTermination()
core.endGroup()
Expand Down

0 comments on commit d93282a

Please sign in to comment.