Skip to content

Latest commit

 

History

History
51 lines (42 loc) · 848 Bytes

README.org

File metadata and controls

51 lines (42 loc) · 848 Bytes

jsonentfmt

Example

---
name: jsonnetfmt check

on:
  - push

jobs:
  jsonnetfmt:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2

      - uses: Andor/action-jsonnet/fmt@master
        with:
          targets: |
            *.jsonnet
            *.libsonnet
            components/*.jsonnet
            components/**/*.jsonnet
            environments/*.libsonnet

jsonnet-lint

Example

---
name: jsonnet-lint check

on:
  - push

jobs:
  jsonnet-lint:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2

      - uses: Andor/action-jsonnet/lint@master
        with:
          targets: |
            *.jsonnet
            *.libsonnet
            components/*.jsonnet
            components/**/*.jsonnet
            environments/*.libsonnet