Skip to content

chris48s/geojson-lint-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

geojson-lint-action

Run tests

Run @mapbox/geojsonhint on geojson files in pull requests

name: Geojson Lint
on: [pull_request]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: Lint
        uses: chris48s/geojson-lint-action@0.2.0
        with:
          github-token: '${{ secrets.GITHUB_TOKEN }}' # required

          # geojsonhint config: https://www.npmjs.com/package/@mapbox/geojsonhint#api
          no-duplicate-members: 'false'  # optional, default=true
          precision-warning: 'true'  # optional, default=false