github.com/codeready-toolchain/api@v0.0.0-20240507023248-73662d6db2c5/.github/workflows/ci-build.yml (about)

     1  name: ci-build
     2  on:
     3    push:
     4      branches:
     5        - master
     6      tags-ignore:
     7        - '*.*'
     8    pull_request:
     9      branches:
    10        - master
    11  
    12  jobs:
    13    golangci:
    14      name: GolangCI Lint
    15      runs-on: ubuntu-20.04
    16      steps:
    17      - name: Install Go
    18        uses: actions/setup-go@v5
    19        with:
    20          go-version: 1.20.x
    21          
    22      - name: Checkout code
    23        uses: actions/checkout@v4
    24      
    25      - name: Lint
    26        uses: golangci/golangci-lint-action@v6
    27        with:
    28          version: v1.52.0
    29          skip-pkg-cache: true
    30          skip-build-cache: true
    31          args: --config=./.golangci.yml --verbose
    32  
    33