Skip to content

Commit

Permalink
Merge pull request #10 from alanconway/github-action
Browse files Browse the repository at this point in the history
build: Add github build action.
  • Loading branch information
alanconway committed Jun 13, 2024
2 parents 847bcd5 + ccda281 commit 0ed5cb5
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: ""
directory: "/"
schedule:
interval: "weekly"
27 changes: 27 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build

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

jobs:

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: "1.21"
- uses: actions/cache@v3
with:
path: ~/go
key: cache-${{ runner.os }}-${{ runner.arch }}

- name: Lint
run: make manifests generate lint && git diff --exit-code

- name: Test
run: make test
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Korrel8r Operator

[![Build](https://github.com/korrel8r/korrel8r/actions/workflows/build.yml/badge.svg)](https://github.com/korrel8r/korrel8r/actions/workflows/build.yml)

This operator deploys [Korrel8r](https://github.com/korrel8r/korrel8r#readme) as a REST service in a Kubernetes cluster.

- [Installing](doc/install.adoc)
Expand Down

0 comments on commit 0ed5cb5

Please sign in to comment.