-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (40 loc) · 993 Bytes
/
linter.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
---
name: Linting
on:
push:
pull_request:
permissions:
contents: read
jobs:
golangci:
name: Lint Backend
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.19
- name: Checkout Repo
uses: actions/checkout@v2
with:
submodules: true
token: ${{ secrets.SSH_TOKEN }}
- name: Install dependencies
run: make install-dependencies
- name: Build Protos
run: make build-protos
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: v1.50
eslint:
name: Lint Frontend
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Run Frontend Linter
run: |
cd houston
npm install
npm run lint