...

Text file src/github.com/shirou/gopsutil/.github/workflows/lint.yml

Documentation: github.com/shirou/gopsutil/.github/workflows

     1name: Golangci-lint
     2
     3on:
     4  push:
     5  pull_request:
     6
     7jobs:
     8  golangci:
     9    name: lint
    10    runs-on: ubuntu-latest
    11    steps:
    12      - name: Setup go
    13        uses: actions/setup-go@v2
    14        with:
    15          go-version: 1.17
    16      - name: Checkout repository
    17        uses: actions/checkout@v2
    18      - name: Setup golangci-lint
    19        uses: golangci/golangci-lint-action@v2
    20        with:
    21          args: --verbose
    22          version: latest
    23          working-directory: v3

View as plain text