# This file was generated by GoReleaser. DO NOT EDIT.
cask "actionlint" do
  name "actionlint"
  desc "Static checker for GitHub Actions workflow files"
  homepage "https://github.com/rhysd/actionlint#readme"
  version "1.7.11"

  livecheck do
    skip "Auto-generated on release."
  end

  binary "actionlint"
  manpage "man/actionlint.1"
  depends_on formula: [
      "shellcheck",
    ]

  on_macos do
    on_intel do
      url "https://github.com/rhysd/actionlint/releases/download/v#{version}/actionlint_#{version}_darwin_amd64.tar.gz"
      sha256 "17ffc17fed8f0258ef6ad4aed932d3272464c7ef7d64e1cb0d65aa97c9752107"
    end
    on_arm do
      url "https://github.com/rhysd/actionlint/releases/download/v#{version}/actionlint_#{version}_darwin_arm64.tar.gz"
      sha256 "a21ba7366d8329e7223faee0ed69eb13da27fe8acabb356bb7eb0b7f1e1cb6d8"
    end
  end

  on_linux do
    on_intel do
      url "https://github.com/rhysd/actionlint/releases/download/v#{version}/actionlint_#{version}_linux_amd64.tar.gz"
      sha256 "900919a84f2229bac68ca9cd4103ea297abc35e9689ebb842c6e34a3d1b01b0a"
    end
    on_arm do
      url "https://github.com/rhysd/actionlint/releases/download/v#{version}/actionlint_#{version}_linux_arm64.tar.gz"
      sha256 "21bc0dfb57a913fe175298c2a9e906ee630f747cb66d0a934d0d4b69f4ee1235"
    end
  end

  # No zap stanza required
end
