From e60c9362a7845e2e2369128614255fecdf2c2ab1 Mon Sep 17 00:00:00 2001 From: Jonathan Apodaca Date: Tue, 26 Aug 2025 14:50:11 -0600 Subject: [PATCH] fix ci --- .github/workflows/ci.yaml | 8 ++++---- .woodpecker/ci.yaml | 10 ++++++++++ 2 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 .woodpecker/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c8e6c01..55d9ab4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -14,16 +14,16 @@ jobs: - name: Populate Nix store run: - nix-shell --run 'true' + nix-shell --pure --run 'true' - name: Type-check with lua-language-server run: - nix-shell --run 'make lint' + nix-shell --pure --run 'make lint' - name: Check formatting with stylua run: - nix-shell --run 'make fmt-check' + nix-shell --pure --run 'make fmt-check' - name: Run busted tests run: - nix-shell --run 'make test' + nix-shell --pure --run 'make test' diff --git a/.woodpecker/ci.yaml b/.woodpecker/ci.yaml new file mode 100644 index 0000000..8374cb6 --- /dev/null +++ b/.woodpecker/ci.yaml @@ -0,0 +1,10 @@ +when: + - event: push + +steps: + - name: build + image: nixos/nix + commands: + - nix-shell --pure --run 'make lint' + - nix-shell --pure --run 'make fmt-check' + - nix-shell --pure --run 'make test'