From 01392ac39aaecfeb185b04ab8ce1e71af2ab60b2 Mon Sep 17 00:00:00 2001 From: M0Rf30 Date: Sat, 4 Nov 2023 15:29:37 +0100 Subject: [PATCH] feat: add CI to verify rules --- .github/workflows/verify.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/verify.yml diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml new file mode 100644 index 0000000..92703bd --- /dev/null +++ b/.github/workflows/verify.yml @@ -0,0 +1,27 @@ +name: Verify rules + +on: + push: + branches: + - "*" + pull_request: + branches: + - "*" + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Setup latest Alpine Linux + uses: jirutka/setup-alpine@v1 + + - name: Install udev + run: apk add eudev + shell: alpine.sh --root {0} + + - name: Test 51-android.rules + run: udevadm verify 51-android.rules + shell: alpine.sh {0} +