-
Notifications
You must be signed in to change notification settings - Fork 2
54 lines (44 loc) · 978 Bytes
/
code-qa.yaml
File metadata and controls
54 lines (44 loc) · 978 Bytes
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
51
52
53
54
name: Code QA
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: code-qa
cancel-in-progress: true
jobs:
tests:
uses: ./.github/workflows/integration-test-workflow.yaml
with:
test_branch: ${{ github.head_ref }}
secrets:
token: ${{ secrets.WAPM_DEV_TOKEN }}
fmt:
name: File format check
runs-on: ubuntu-24.04
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Install Deno
uses: denoland/setup-deno@v2
with:
deno-version: v2.x
- name: Format & fail on changes
run: |
make fmt-check
lint:
name: Lint the project
runs-on: ubuntu-24.04
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Install Deno
uses: denoland/setup-deno@v2
with:
deno-version: v2.x
- name: Run deno lint
run: |
make check