Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: CI

on:
pull_request:
branches:
- main
types:
- opened
- synchronize
- reopened
push:
branches:
- main

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod

- name: Run tests
run: make test

helm-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Helm
uses: azure/setup-helm@v4

- name: Add Prometheus Helm repository
run: helm repo add prometheus-community https://prometheus-community.github.io/helm-charts

- name: Build Helm dependencies
run: helm dependency build helm/osko

- name: Lint Helm chart
run: helm lint helm/osko

- name: Template Helm chart
run: helm template osko helm/osko
Loading