Skip to content

Commit 6101373

Browse files
authored
Upgrade to node16 (#243)
* Upgrade to Node16. * Upgrade to actions/checkout@v3
1 parent ab9f7e6 commit 6101373

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/test.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@ jobs:
55
build: # make sure build/ci work properly
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v2
8+
- uses: actions/checkout@v3
99
- run: |
1010
npm install
1111
- run: |
1212
npm run all
1313
test: # make sure the action works on a clean machine without building
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v3
1717
- uses: ./
1818
with:
1919
token: ${{ secrets.GITHUB_TOKEN }}
2020
thresholdNew: 0.8
2121
thresholdModified: 0.0
22-
coverageFile: coverage.xml
22+
coverageFile: coverage.xml

action.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: 'Python Coverage'
22
description: 'Publish coverage report to a PR & enforce coverage on new & modified files'
33
author: 'orgoro'
44
inputs:
5-
coverageFile:
5+
coverageFile:
66
required: true
77
description: 'local path to a covergae xml file like the output of pytest --cov'
8-
token:
8+
token:
99
required: true
1010
description: 'github token'
1111
thresholdAll:
@@ -21,7 +21,7 @@ inputs:
2121
description: the coverage threshold for average over new files [0,1]
2222
default: 0.0
2323
runs:
24-
using: 'node12'
24+
using: 'node16'
2525
main: 'dist/index.js'
2626
branding:
2727
icon: 'umbrella'

0 commit comments

Comments
 (0)