...

Text file src/k8s.io/klog/v2/.github/workflows/lint.yml

Documentation: k8s.io/klog/v2/.github/workflows

     1name: Run lint
     2
     3on: [ push, pull_request ]
     4
     5permissions:
     6  contents: read
     7
     8jobs:
     9  lint:
    10    strategy:
    11      matrix:
    12        path:
    13          - .
    14          - examples
    15    runs-on: ubuntu-latest
    16    steps:
    17      - name: Checkout code
    18        uses: actions/checkout@v2
    19      - name: Lint
    20        uses: golangci/golangci-lint-action@v2
    21        with:
    22          # version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
    23          version: latest
    24          working-directory: ${{ matrix.path }}

View as plain text