From 1a1105206b5e3f6da41d82b9fc08deb8c0f9c603 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A1n=20I=2E=20Del=20Valle?= Date: Sun, 12 Sep 2021 08:50:23 -0700 Subject: [PATCH] Adds build Github action (#3) Adds simple build Github Action --- .github/workflows/ci.yml | 22 ++++++++++++++++++++++ README.md | 4 ++-- 2 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..86a62dc --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,22 @@ +name: CI + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: 1.17 + + - name: Build + run: make diff --git a/README.md b/README.md index 2968456..275ea65 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Katbox +# Katbox ![CI](https://github.com/paypal/katbox/actions/workflows/ci.yml/badge.svg) Katbox is an inline ephemeral volume manager with delayed deletion for Kubernetes. @@ -40,4 +40,4 @@ A closer look at how the creation and deletion of volumes works can be found [he # Credits This project was initially a fork of -[CSI Hostpath driver](https://github.com/kubernetes-csi/csi-driver-host-path). \ No newline at end of file +[CSI Hostpath driver](https://github.com/kubernetes-csi/csi-driver-host-path).