From d9dbf06531778ac6decdb50d9fcfae81f00cee02 Mon Sep 17 00:00:00 2001 From: Gianluca Boiano <491117+M0Rf30@users.noreply.github.com> Date: Sat, 4 Nov 2023 16:06:42 +0100 Subject: [PATCH] feat: add CI to verify rules (#291) --- .github/dependabot.yml | 9 +++++++++ .github/workflows/verify.yml | 21 +++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 .github/dependabot.yml create mode 100644 .github/workflows/verify.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..84a7d38 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,9 @@ +# Basic set up for three package managers + +version: 2 +updates: + # Maintain dependencies for GitHub Actions + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml new file mode 100644 index 0000000..4a9f420 --- /dev/null +++ b/.github/workflows/verify.yml @@ -0,0 +1,21 @@ +name: Verify rules + +on: + push: + branches: + - "*" + pull_request: + branches: + - "*" + +jobs: + build: + runs-on: ubuntu-latest + container: docker.io/archlinux:latest + steps: + - uses: actions/checkout@v4 + + - name: Test 51-android.rules + run: | + groupadd adbusers + udevadm verify 51-android.rules