Skip to content

Commit 6779b00

Browse files
authored
fixes CI (#19)
* Rename workflow from lint to ci Signed-off-by: Friedrich Gonzalez <[email protected]> * Run on push and pull_requests for main Signed-off-by: Friedrich Gonzalez <[email protected]> * Use ubuntu-latest Signed-off-by: Friedrich Gonzalez <[email protected]> --------- Signed-off-by: Friedrich Gonzalez <[email protected]>
1 parent 5e810e9 commit 6779b00

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

Diff for: .github/workflows/lint.yaml renamed to .github/workflows/ci.yaml

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
name: CI
22

33
on:
4+
push:
5+
branches: [ main ]
46
pull_request:
7+
branches: [ main ]
58

69
jobs:
710
lint:
8-
runs-on: ubuntu-18.04
11+
runs-on: ubuntu-latest
912
container: quay.io/cortexproject/cortex-jsonnet-build-image:c924d52
1013
steps:
1114
- uses: actions/checkout@v2
@@ -19,7 +22,7 @@ jobs:
1922
- name: "Lint playbooks"
2023
run: make lint-playbooks
2124
build:
22-
runs-on: ubuntu-18.04
25+
runs-on: ubuntu-latest
2326
container: quay.io/cortexproject/cortex-jsonnet-build-image:c924d52
2427
steps:
2528
- uses: actions/checkout@v2
@@ -30,7 +33,7 @@ jobs:
3033
- name: "Build mixin"
3134
run: make build-mixin
3235
readme:
33-
runs-on: ubuntu-18.04
36+
runs-on: ubuntu-latest
3437
container: quay.io/cortexproject/cortex-jsonnet-build-image:c924d52
3538
steps:
3639
- uses: actions/checkout@v2
@@ -39,4 +42,4 @@ jobs:
3942
fetch-depth: 0
4043

4144
- name: "Test readme"
42-
run: make test-readme
45+
run: make test-readme

0 commit comments

Comments
 (0)