Skip to content

Commit b1b2c93

Browse files
committed
update to v3
1 parent 3703ff8 commit b1b2c93

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/eslint.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
# The branches below must be a subset of the branches above
1717
branches: [ "master" ]
1818
schedule:
19-
- cron: '25 15 * * 4'
19+
- cron: '18 17 * * 4'
2020

2121
jobs:
2222
eslint:
@@ -28,16 +28,18 @@ jobs:
2828
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
2929
steps:
3030
- name: Checkout code
31-
uses: actions/checkout@v3
31+
uses: actions/checkout@v4
3232

3333
- name: Install ESLint
3434
run: |
35-
npm install
36-
npm install @microsoft/eslint-formatter-sarif
35+
npm install [email protected]
36+
npm install @microsoft/eslint-formatter-sarif@3.1.0
3737
3838
- name: Run ESLint
39+
env:
40+
SARIF_ESLINT_IGNORE_SUPPRESSED: "true"
3941
run: npx eslint .
40-
--config .eslintrc.json
42+
--config .eslintrc.js
4143
--ext .js,.jsx,.ts,.tsx
4244
--format @microsoft/eslint-formatter-sarif
4345
--output-file eslint-results.sarif
@@ -48,3 +50,4 @@ jobs:
4850
with:
4951
sarif_file: eslint-results.sarif
5052
wait-for-processing: true
53+

0 commit comments

Comments
 (0)