-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
50 lines (49 loc) · 1.01 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Metrics
on:
push:
branches:
- v4-dev
pull_request:
branches:
- v4-dev
paths-ignore:
- "**/*.md"
jobs:
# Lint, format, build and test
testing:
runs-on: ubuntu-latest
strategy:
matrix:
task:
- ci:check
- ci:test
steps:
- uses: actions/checkout@v3
- uses: denoland/setup-deno@v1
- run: deno task btr ${{ matrix.task }}
# GitHub CodeQL analysis
analyze:
name:
runs-on: ubuntu-latest
needs:
- testing
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language:
- typescript
steps:
- uses: actions/checkout@v3
- uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
config: |
queries:
- uses: security-and-quality
paths-ignore:
- source/run/server/imports.ts
- uses: github/codeql-action/analyze@v2