From 5dcada10a9b097da6d74b237a9d900d60a1fa09e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20La=C3=9F?= Date: Sun, 28 Jul 2024 18:53:54 +0200 Subject: [PATCH] Daily run nvchecker via gh action --- .github/workflows/nvchecker.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/nvchecker.yml diff --git a/.github/workflows/nvchecker.yml b/.github/workflows/nvchecker.yml new file mode 100644 index 0000000..f39b749 --- /dev/null +++ b/.github/workflows/nvchecker.yml @@ -0,0 +1,21 @@ +name: nvchecker + +on: + schedule: + - cron: "0 6 * * *" + workflow_dispatch: + +jobs: + nvchecker: + runs-on: ubuntu-latest + container: archlinux:latest + steps: + - uses: actions/checkout@v3 + - name: Install nvchecker + run: | + pacman -Sy + pacman -S --noconfirm nvchecker python-jq python-packaging pyalpm + - name: Run nvchecker + run: nvchecker -c nvchecker.toml | tee nvchecker.out + - name: Evaluate result + run: test ! -s nvchecker.out