-
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (36 loc) · 883 Bytes
/
checks.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
name: Checks
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
defaults:
run:
shell: bash --noprofile --norc -eo pipefail {0}
jobs:
deno-check:
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
timeout-minutes: 1
- uses: denoland/setup-deno@v2
with:
# Use the latest stable version.
deno-version: vx.x.x
timeout-minutes: 1
- uses: actions/cache@v4
with:
path: .deno
key: ${{ hashFiles('**/*.ts') }}
timeout-minutes: 1
- name: Check if deno files are formatted
run: make deno-fmt-check
timeout-minutes: 1
- name: Lint deno files
run: make deno-lint
timeout-minutes: 1
- name: Type-check deno files
run: make deno-typecheck
timeout-minutes: 1