diff --git a/.github/workflows/flipper-ci.yml b/.github/workflows/flipper-ci.yml new file mode 100644 index 0000000..940d364 --- /dev/null +++ b/.github/workflows/flipper-ci.yml @@ -0,0 +1,26 @@ +name: "FAP: Build and lint" +on: [push, pull_request] +jobs: + ufbt-build-action: + runs-on: ubuntu-latest + name: 'ufbt: Build for Dev branch' + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Build with ufbt + uses: flipperdevices/flipperzero-ufbt-action@v0.1.2 + id: build-app + with: + sdk-channel: release + app-dir: ./flipper + - name: Upload app artifacts + uses: actions/upload-artifact@v3 + with: + name: ${{ github.event.repository.name }}-${{ steps.build-app.outputs.suffix }} + path: ${{ steps.build-app.outputs.fap-artifacts }} + - name: Lint sources + uses: flipperdevices/flipperzero-ufbt-action@v0.1.2 + with: + # skip SDK setup, we already did it in previous step + skip-setup: true + task: lint