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).