28
28
name : Lint
29
29
runs-on : ubuntu-latest
30
30
steps :
31
- - uses : actions/checkout@v4
31
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
32
32
- name : Setup Node.js
33
- uses : actions/setup-node@v4
33
+ uses : actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
34
34
with :
35
35
node-version : ' lts/*'
36
36
@@ -52,12 +52,12 @@ jobs:
52
52
53
53
runs-on : ${{ matrix.os }}
54
54
steps :
55
- - uses : actions/checkout@v4
55
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
56
56
with :
57
57
persist-credentials : false
58
58
59
59
- name : Setup Node.js ${{ matrix.node-version }}
60
- uses : actions/setup-node@v4
60
+ uses : actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
61
61
with :
62
62
node-version : ${{ matrix.node-version }}
63
63
79
79
run : npm run test-ci
80
80
81
81
- name : Upload code coverage
82
- uses : actions/upload-artifact@v4
82
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
83
83
with :
84
84
name : coverage-node-${{ matrix.node-version }}-${{ matrix.os }}
85
85
path : ./coverage/lcov.info
@@ -92,14 +92,14 @@ jobs:
92
92
contents : read
93
93
checks : write
94
94
steps :
95
- - uses : actions/checkout@v4
95
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
96
96
97
97
- name : Install lcov
98
98
shell : bash
99
99
run : sudo apt-get -y install lcov
100
100
101
101
- name : Collect coverage reports
102
- uses : actions/download-artifact@v4
102
+ uses : actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
103
103
with :
104
104
path : ./coverage
105
105
pattern : coverage-node-*
@@ -109,6 +109,6 @@ jobs:
109
109
run : find ./coverage -name lcov.info -exec printf '-a %q\n' {} \; | xargs lcov -o ./lcov.info
110
110
111
111
- name : Upload coverage report
112
- uses : coverallsapp/github-action@v2
112
+ uses : coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6
113
113
with :
114
114
file : ./lcov.info
0 commit comments