From bbe713bd690895569503cfe7cca5aa41931737ee Mon Sep 17 00:00:00 2001 From: Matthew_Cash Date: Sun, 31 Mar 2024 00:28:49 -0700 Subject: [PATCH] Add github workflow for testing flake outputs --- .github/workflows/main.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100755 index 0000000..58e64ca --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,18 @@ +name: Update Nix Inputs + +on: + push: + branches: [main] + schedule: + - cron: "0 * * * *" # every hour + +jobs: + update-inputs: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - uses: DeterminateSystems/nix-installer-action@main + - uses: DeterminateSystems/magic-nix-cache-action@main + + - run: nix run .#test