Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Metabase
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Engineering Digital Service
Metabase
Commits
cab3c972
Unverified
Commit
cab3c972
authored
4 years ago
by
Ariya Hidayat
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Use GitHub Actions to run back-end linters (#14701)
parent
1d1725c7
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.circleci/config.yml
+0
-32
0 additions, 32 deletions
.circleci/config.yml
.github/workflows/backend.yml
+100
-0
100 additions, 0 deletions
.github/workflows/backend.yml
with
100 additions
and
32 deletions
.circleci/config.yml
+
0
−
32
View file @
cab3c972
...
...
@@ -1006,34 +1006,6 @@ workflows:
skip-when-no-change
:
true
<<
:
*Matrix
-
lein
:
name
:
be-linter-eastwood
requires
:
-
be-deps
lein-command
:
eastwood
skip-when-no-change
:
true
-
lein
:
name
:
be-linter-docstring-checker
requires
:
-
be-deps
lein-command
:
docstring-checker
skip-when-no-change
:
true
-
lein
:
name
:
be-linter-namespace-decls
requires
:
-
be-deps
lein-command
:
check-namespace-decls
skip-when-no-change
:
true
-
lein
:
name
:
be-linter-bikeshed
requires
:
-
be-deps
lein-command
:
bikeshed
skip-when-no-change
:
true
-
lein
:
name
:
be-linter-cloverage
requires
:
...
...
@@ -1045,10 +1017,6 @@ workflows:
command
:
bash <(curl -s https://codecov.io/bash)
skip-when-no-change
:
true
-
be-linter-reflection-warnings
:
requires
:
-
be-deps
-
test-driver
:
name
:
be-tests-bigquery-ee
requires
:
...
...
This diff is collapsed.
Click to expand it.
.github/workflows/backend.yml
0 → 100644
+
100
−
0
View file @
cab3c972
name
:
Backend
on
:
pull_request
:
push
:
branches
:
-
master
-
'
release**'
-
'
feature**'
tags
:
-
'
**'
paths
:
-
'
**.clj'
-
'
**.edn'
-
'
**.java'
-
'
**/metabase-plugin.yaml'
-
'
.github/workflows/**'
jobs
:
be-linter-bikeshed
:
runs-on
:
ubuntu-20.04
timeout-minutes
:
10
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Prepare JDK
11
uses
:
actions/setup-java@v1
with
:
java-version
:
11
-
name
:
Get M2 cache
uses
:
actions/cache@v2
with
:
path
:
~/.m2
key
:
${{ runner.os }}-bikeshed-${{ hashFiles('**/project.clj') }}
-
run
:
lein with-profile +ci bikeshed
be-linter-eastwood
:
runs-on
:
ubuntu-20.04
timeout-minutes
:
10
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Prepare JDK
11
uses
:
actions/setup-java@v1
with
:
java-version
:
11
-
name
:
Get M2 cache
uses
:
actions/cache@v2
with
:
path
:
~/.m2
key
:
${{ runner.os }}-eastwood-${{ hashFiles('**/project.clj') }}
-
run
:
lein with-profile +ci eastwood
be-linter-docstring-checker
:
runs-on
:
ubuntu-20.04
timeout-minutes
:
10
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Prepare JDK
11
uses
:
actions/setup-java@v1
with
:
java-version
:
11
-
name
:
Get M2 cache
uses
:
actions/cache@v2
with
:
path
:
~/.m2
key
:
${{ runner.os }}-docstring-checker-${{ hashFiles('**/project.clj') }}
-
run
:
lein with-profile +ci docstring-checker
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@v1
with
:
java-version
:
11
-
name
:
Get M2 cache
uses
:
actions/cache@v2
with
:
path
:
~/.m2
key
:
${{ runner.os }}-namespace-decls-${{ hashFiles('**/project.clj') }}
-
run
:
lein with-profile +ci check-namespace-decls
be-linter-reflection-warnings
:
runs-on
:
ubuntu-20.04
timeout-minutes
:
10
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Prepare JDK
11
uses
:
actions/setup-java@v1
with
:
java-version
:
11
-
name
:
Get M2 cache
uses
:
actions/cache@v2
with
:
path
:
~/.m2
key
:
${{ runner.os }}-reflection-warnings-${{ hashFiles('**/project.clj') }}
-
run
:
./bin/reflection-linter
name
:
Run reflection warnings checker
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment