File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626 matrix :
2727 language : [ 'go' ]
2828 go : ['1.24']
29+ node : [22.x]
2930
3031 steps :
31- - name : Harden Runner
32- uses : step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
33- with :
34- egress-policy : audit # TODO: change to 'egress-policy: block' after couple of runs
35-
3632 - name : Checkout repository
3733 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3834
4137 with :
4238 go-version : ${{ matrix.go }}
4339
40+ - name : Setup Node.JS ${{ matrix.node }}
41+ uses : actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
42+ with :
43+ node-version : ${{ matrix.node }}
44+ cache : ' yarn'
45+
4446 - name : Initialize CodeQL
4547 uses : github/codeql-action/init@28deaeda66b76a05916b6923827895f2b14ab387 # v3.28.16
4648 with :
Original file line number Diff line number Diff line change @@ -17,17 +17,21 @@ jobs:
1717 strategy :
1818 matrix :
1919 go : ['1.24']
20+ node : [22.x]
2021 timeout-minutes : 10
2122 steps :
22- - name : Harden Runner
23- uses : step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
24- with :
25- egress-policy : audit # TODO: change to 'egress-policy: block' after couple of runs
26-
2723 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
24+
2825 - name : Setup Go ${{ matrix.go }}
2926 uses : actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
3027 with :
3128 go-version : ${{ matrix.go }}
29+
30+ - name : Setup Node.JS ${{ matrix.node }}
31+ uses : actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
32+ with :
33+ node-version : ${{ matrix.node }}
34+ cache : ' yarn'
35+
3236 - name : Test Go
3337 run : go test -v ./...
You can’t perform that action at this time.
0 commit comments