Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

Commit

Permalink
Workflow to test on PR (#2)
Browse files Browse the repository at this point in the history
* Create build.yml

* Update build.yml

* Create lint.yml
  • Loading branch information
oleksiikutuzov authored Feb 22, 2023
1 parent b68c8f3 commit cf05c49
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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
26 changes: 26 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit cf05c49

Please sign in to comment.