Skip to content

Add custom maprange linter to GitHub Actions from Cadence #344

Description

@fxamacker

Issue To Be Solved

GitHub Actions should add a custom linter to check map ranges.

Suggested Solution

Great suggestion by @turbolent

In Cadence we're using a custom linter to reject such cases (https://github.com/onflow/cadence/tree/master/tools/maprange), we might want to also use it in the atree repo?

Given that GitHub workflows can consume a lot of time, one approach is to download precompiled binaries of the custom linter(s) from Cadence repo (same way golangci-lint binaries can be downloaded from their repo).

E.g. https://github.com/golangci/golangci-lint/releases/tag/v1.53.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    CICI and GitHub Actions Workflows

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions