Merge pull request #3446 from github/mbg/ci/pin-node-packages · github/codeql-action@c5aaca4

4 files changed

lines changed

Original file line numberDiff line numberDiff line change

@@ -4,7 +4,7 @@ versions:

44

- toolcache

55

steps:

66

- name: Install @actions/tool-cache

7-

run: npm install @actions/tool-cache

7+

run: npm install @actions/tool-cache@3

88

- name: Check toolcache contains CodeQL

99

continue-on-error: true

1010

uses: actions/github-script@v8

Original file line numberDiff line numberDiff line change

@@ -16,7 +16,7 @@ steps:

1616

const codeqlPath = path.join(process.env['RUNNER_TOOL_CACHE'], 'CodeQL');

1717

fs.rmdirSync(codeqlPath, { recursive: true });

1818

- name: Install @actions/tool-cache

19-

run: npm install @actions/tool-cache

19+

run: npm install @actions/tool-cache@3

2020

- name: Check toolcache does not contain CodeQL

2121

uses: actions/github-script@v8

2222

with: