Skip to content

Commit

Permalink
fixes CI (#19)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
friedrichg authored Apr 29, 2023
1 parent 5e810e9 commit 6779b00
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/lint.yaml → .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
name: CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
lint:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
container: quay.io/cortexproject/cortex-jsonnet-build-image:c924d52
steps:
- uses: actions/checkout@v2
Expand All @@ -19,7 +22,7 @@ jobs:
- name: "Lint playbooks"
run: make lint-playbooks
build:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
container: quay.io/cortexproject/cortex-jsonnet-build-image:c924d52
steps:
- uses: actions/checkout@v2
Expand All @@ -30,7 +33,7 @@ jobs:
- name: "Build mixin"
run: make build-mixin
readme:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
container: quay.io/cortexproject/cortex-jsonnet-build-image:c924d52
steps:
- uses: actions/checkout@v2
Expand All @@ -39,4 +42,4 @@ jobs:
fetch-depth: 0

- name: "Test readme"
run: make test-readme
run: make test-readme

0 comments on commit 6779b00

Please sign in to comment.