From 652d94514846b0c148c0286d6dab483b36504cf5 Mon Sep 17 00:00:00 2001 From: Jamie Harding Date: Mon, 30 Sep 2024 10:40:54 +0200 Subject: [PATCH] add lint step --- .github/workflows/rainix.yaml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rainix.yaml b/.github/workflows/rainix.yaml index ec3ad594..9cc86cf8 100644 --- a/.github/workflows/rainix.yaml +++ b/.github/workflows/rainix.yaml @@ -22,4 +22,16 @@ jobs: uses: DeterminateSystems/nix-installer-action@v4 - uses: DeterminateSystems/magic-nix-cache-action@v2 - name: Run ${{ matrix.task }} - run: nix develop -c ${{ matrix.task }} \ No newline at end of file + run: nix develop -c ${{ matrix.task }} + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + submodules: recursive + fetch-depth: 0 + + - uses: DeterminateSystems/nix-installer-action@main + - uses: DeterminateSystems/magic-nix-cache-action@main + - run: nix develop -c npm run svelte-lint-format-check +