forked from metabase/metabase
-
Notifications
You must be signed in to change notification settings - Fork 0
72 lines (67 loc) · 2.01 KB
/
backend.yml
File metadata and controls
72 lines (67 loc) · 2.01 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
name: Backend
on:
push:
branches:
- 'master'
- 'release-**'
pull_request:
jobs:
be-linter-clj-kondo:
runs-on: ubuntu-20.04
timeout-minutes: 10
steps:
- uses: actions/checkout@v2
- name: Run clj-kondo
run: docker run -v $PWD:/work --rm cljkondo/clj-kondo clj-kondo --config /work/lint-config.edn --lint /work/src /work/enterprise/backend/src /work/backend/mbql/src /work/shared/src
be-linter-eastwood:
runs-on: ubuntu-20.04
timeout-minutes: 20
steps:
- uses: actions/checkout@v2
- name: Prepare JDK 11
uses: actions/setup-java@v2
with:
java-version: 11
distribution: 'temurin'
- name: Install Clojure CLI
run: |
curl -O https://download.clojure.org/install/linux-install-1.10.3.933.sh &&
sudo bash ./linux-install-1.10.3.933.sh
- name: Get M2 cache
uses: actions/cache@v2
with:
path: |
~/.m2
~/.gitlibs
key: ${{ runner.os }}-eastwood-${{ hashFiles('**/deps.edn') }}
- name: Compile Java & AOT Sources
run: |
source ./bin/prep.sh && prep_deps
- run: clojure -X:dev:ee:ee-dev:drivers:drivers-dev:eastwood
name: Run Eastwood linter
be-linter-namespace-decls:
runs-on: ubuntu-20.04
timeout-minutes: 10
steps:
- uses: actions/checkout@v2
- name: Prepare JDK 11
uses: actions/setup-java@v2
with:
java-version: 11
distribution: 'temurin'
- name: Install Clojure CLI
run: |
curl -O https://download.clojure.org/install/linux-install-1.10.3.933.sh &&
sudo bash ./linux-install-1.10.3.933.sh
- name: Get M2 cache
uses: actions/cache@v2
with:
path: |
~/.m2
~/.gitlibs
key: ${{ runner.os }}-namespace-decls-${{ hashFiles('**/deps.edn') }}
- name: Compile Java & AOT Sources
run: |
source ./bin/prep.sh && prep_deps
- run: clojure -X:dev:ee:ee-dev:drivers:drivers-dev:namespace-checker
name: Check ns forms