<commit_before>---
platform: linux

image_resource:
  type: docker-image
  source:
    repository: cfcli/cli-base

inputs:
- name: cli
  path: gopath/src/code.cloudfoundry.org/cli

run:
  path: bash
  args:
  - -c
  - |
    set -e

    export GOPATH=$PWD/gopath
    export PATH=$GOPATH/bin:$PATH


    export LC_ALL="en_US.UTF-8"
    export GOLANGCI_LINT_VERSION="1.15.0"

    go version

    curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v${GOLANGCI_LINT_VERSION}

    cd $GOPATH/src/code.cloudfoundry.org/cli
    golangci-lint --version
    golangci-lint run -v

    exit 0<commit_msg>update golangci-lint to 1.16.0<commit_after>---
platform: linux

image_resource:
  type: docker-image
  source:
    repository: cfcli/cli-base

inputs:
- name: cli
  path: gopath/src/code.cloudfoundry.org/cli

run:
  path: bash
  args:
  - -c
  - |
    set -e

    export GOPATH=$PWD/gopath
    export PATH=$GOPATH/bin:$PATH


    export LC_ALL="en_US.UTF-8"
    export GOLANGCI_LINT_VERSION="1.16.0"

    go version

    curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v${GOLANGCI_LINT_VERSION}

    cd $GOPATH/src/code.cloudfoundry.org/cli
    golangci-lint --version
    golangci-lint run -v

    exit 0
{'fraction_non_alphanumeric': 0.1290566037735849, 'fraction_numerical': 0.012075471698113207, 'mean_word_length': 2.7142857142857144, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1343797', 'n_tokens_mistral': 564, 'n_tokens_neox': 515, 'n_words': 102}