File tree Expand file tree Collapse file tree 2 files changed +22
-53
lines changed
Expand file tree Collapse file tree 2 files changed +22
-53
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- # Copyright 2022 Google LLC
1+ # Copyright 2021 Google LLC
22#
33# Licensed under the Apache License, Version 2.0 (the "License");
44# you may not use this file except in compliance with the License.
1111# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212# See the License for the specific language governing permissions and
1313# limitations under the License.
14-
14+ ---
1515name : Lint
16- on : [push, pull_request]
16+ on : [push, pull_request, workflow_dispatch ]
1717jobs :
1818 lint :
19- runs-on : ubuntu-latest
19+ concurrency :
20+ group : ${{ github.head_ref || github.ref }}
21+ cancel-in-progress : true
22+ runs-on : ubuntu-20.04
2023 steps :
21- - uses : actions/checkout@v2
22- - run : |
23- echo "No lint checks";
24- exit 1;
24+ - uses : actions/checkout@v3.0.2
25+ with :
26+ fetch-depth : 0
27+ - uses : github/super-linter/slim@v4.9.4
28+ env :
29+ ERROR_ON_MISSING_EXEC_BIT : true
30+ VALIDATE_JSCPD : false
31+ VALIDATE_JAVASCRIPT_STANDARD : false
32+ VALIDATE_ALL_CODEBASE : ${{ github.event_name == 'push' }}
33+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
34+ - uses : actions/setup-node@v3
35+ with :
36+ node-version : ' 14'
37+ - run : npm install
38+ - run : npm run lint
You can’t perform that action at this time.
0 commit comments