diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 000000000..e2d1f076c --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,24 @@ +name: Build test FAP with library + +on: + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout test app + uses: actions/checkout@v3 + with: + repository: oleksiikutuzov/flipperzero-BH1750-test + + - name: Checkout library + uses: actions/checkout@v3 + with: + path: lib/BH1750 + + - name: Build + uses: oleksiikutuzov/flipperzero-ufbt-action@v2 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 000000000..99b935888 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,26 @@ +name: Lint test FAP with library + +on: + pull_request: + branches: + - main + +jobs: + lint: + runs-on: ubuntu-latest + + steps: + - name: Checkout test app + uses: actions/checkout@v3 + with: + repository: oleksiikutuzov/flipperzero-BH1750-test + + - name: Checkout library + uses: actions/checkout@v3 + with: + path: lib/BH1750 + + - name: Lint + uses: oleksiikutuzov/flipperzero-ufbt-action@v2 + with: + lint_only: true