Skip to content

Commit f8dd8c2

Browse files
authored
move to github actions (#4)
Signed-off-by: Niclas Schad <[email protected]> rename build to CI Signed-off-by: Niclas Schad <[email protected]>
1 parent 978fe49 commit f8dd8c2

File tree

2 files changed

+42
-41
lines changed

2 files changed

+42
-41
lines changed

.circleci/config.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

.github/workflows/lint.yaml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
lint:
8+
runs-on: ubuntu-18.04
9+
container: grafana/cortex-jsonnet-build-image:3527936
10+
steps:
11+
- uses: actions/checkout@v2
12+
name: Checkout
13+
with:
14+
fetch-depth: 0
15+
16+
- name: "Lint mixin"
17+
run: make lint-mixin
18+
19+
- name: "Lint playbooks"
20+
run: make lint-playbooks
21+
build:
22+
runs-on: ubuntu-18.04
23+
container: grafana/cortex-jsonnet-build-image:3527936
24+
steps:
25+
- uses: actions/checkout@v2
26+
name: Checkout
27+
with:
28+
fetch-depth: 0
29+
30+
- name: "Build mixin"
31+
run: make build-mixin
32+
readme:
33+
runs-on: ubuntu-18.04
34+
container: grafana/cortex-jsonnet-build-image:3527936
35+
steps:
36+
- uses: actions/checkout@v2
37+
name: Checkout
38+
with:
39+
fetch-depth: 0
40+
41+
- name: "Test readme"
42+
run: make test-readme

0 commit comments

Comments
 (0)