From 742cb6c592680ce6546f926bc2d82e7d195cedf8 Mon Sep 17 00:00:00 2001 From: Frieder Bluemle Date: Thu, 5 Jan 2023 12:51:31 -0800 Subject: [PATCH] Enable basic GitHub Actions CI --- .github/workflows/ci.yml | 11 +++++++++++ README.md | 5 +++++ 2 files changed, 16 insertions(+) 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..245614b --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,11 @@ +name: ci +on: + push: + branches: ['master'] + pull_request: +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - run: git -c core.whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol diff --check 4b825dc642cb6eb9a060e54bf8d69288fbee4904 -- README.md diff --git a/README.md b/README.md index 1614d38..d32bcbb 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # ernnavigation-api +[![ci][1]][2] + This SDK is automatically generated by Electrode Native API generator. It uses Swagger to generate bridge code for Android, iOS, and React Native. @@ -86,3 +88,6 @@ Code in this repository is generated by the `ern regen-api` command whenever the - [Android](https://github.com/electrode-io/ernnavigation-api-impl-native/tree/master/android) - [iOS](https://github.com/electrode-io/ernnavigation-api-impl-native/tree/master/ios) + +[1]: https://github.com/electrode-io/ernnavigation-api/workflows/ci/badge.svg +[2]: https://github.com/electrode-io/ernnavigation-api/actions