Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Commit

Permalink
Update dependency versions to avoid GitHub warnings
Browse files Browse the repository at this point in the history
Update to node 16 to avoid:
```
Node.js 12 actions are deprecated. For more information see:
https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
Please update the following actions to use Node.js 16: Azure/container-scan
```

Update actions/core to at least 1.10.0 to avoid:
```
The `set-output` command is deprecated and will be disabled soon.
Please upgrade to using Environment Files. For more information see:
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
```
  • Loading branch information
brianloss committed Oct 13, 2022
1 parent 99cfdbc commit b6651c1
Show file tree
Hide file tree
Showing 5 changed files with 9,985 additions and 395 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
build: # make sure build/ci works properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '10'
node-version: '16'
- name: Running L0 tests.
run: |
npm install
Expand Down
3 changes: 3 additions & 0 deletions __mocks__/fs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,8 @@ fs.__setMockFiles = __setMockFiles;
fs.readFileSync = jest.fn(readFileSync);
fs.readFile = jest.fn(readFile);
fs.existsSync = jest.fn(existsSync);
fs.promises = {
access: jest.fn()
}

module.exports = fs;
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ outputs:
description: 'URL of the check run. Overview about finding of vulnerabilities and best-practices.'

runs:
using: 'node12'
using: 'node16'
main: 'lib/main.js'
Loading

0 comments on commit b6651c1

Please sign in to comment.