From e626afcaf9f97220d60ab231fcf0c038ec5fd499 Mon Sep 17 00:00:00 2001 From: Sal <59910950+ss-o@users.noreply.github.com> Date: Sat, 10 Oct 2026 13:24:44 +0100 Subject: [PATCH] ci(lint): pin zsh-lint v1.4.0 and migrate the config to schema v2 Part of z-shell/zsh-lint#612: move this repository to the released zsh-lint v1.4.0. --- .github/workflows/zsh-lint.yml | 4 ++-- zsh-lint.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/zsh-lint.yml b/.github/workflows/zsh-lint.yml index faac99b..52e1e90 100644 --- a/.github/workflows/zsh-lint.yml +++ b/.github/workflows/zsh-lint.yml @@ -40,14 +40,14 @@ jobs: uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: repository: z-shell/zsh-lint - ref: 1e8b0a6c02d4aa433e6aee8ca141e11ef62ba76b + ref: aff60185cddb4b829f39f2db82aae9fc7bce3e7d # v1.4.0 path: .zsh-lint-tool persist-credentials: false - name: Set up Go uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: cache: false - go-version: "1.25" + go-version-file: .zsh-lint-tool/go.mod - name: Build zsh-lint run: go build -C .zsh-lint-tool -o "$RUNNER_TEMP/zsh-lint" ./cmd/zsh-lint - name: Run configured advisory profile diff --git a/zsh-lint.json b/zsh-lint.json index 1152f52..89d1125 100644 --- a/zsh-lint.json +++ b/zsh-lint.json @@ -1,9 +1,9 @@ { - "version": 1, + "version": 2, "project": { "kind": "tool", "minimum_zsh": "5.5.1", - "function_namespaces": [] + "identifier": "zd" }, "sources": [{ "root": "docker", "profile": "test-fixture" }] }