From a4446d16ed3704059f4c62580e663d7a9d75c1c5 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 28 Dec 2024 13:05:08 -0800 Subject: add workflows and dependabot --- .github/workflows/ci.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/ci.yml (limited to '.github/workflows/ci.yml') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..5dd969c --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,20 @@ +name: CI + +on: + push: + branches: ["main"] + pull_request: + branches: ["main"] + +jobs: + format: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: ❄️ Install Nix + uses: DeterminateSystems/nix-installer-action@v16 + + - name: ❄️ Check formatting + run: nix fmt -- cgit v1.2.3