From c283a3478450235fb48b91e616572e615df4fb58 Mon Sep 17 00:00:00 2001 From: Djalim Simaila Date: Thu, 8 Jan 2026 17:31:45 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20ci:=20add=20Deno=20lint=20and=20?= =?UTF-8?q?format=20check=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/main.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .gitea/workflows/main.yml diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml new file mode 100644 index 0000000..6cbfc6d --- /dev/null +++ b/.gitea/workflows/main.yml @@ -0,0 +1,26 @@ +name: "Check Deno code" + +on: + pull_request: + branches: + - main + +permissions: + contents: read + +jobs: + check-code: + name: "Check Deno code" + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: denoland/setup-deno@v2 + with: + deno-version: v2.x + + - name: Check formatting + run: deno fmt --check + + - name: Check linting + run: deno lint -- 2.52.0