<commit_before>---
kind: pipeline
name: default

platform:
  os: linux
  arch: amd64

workspace:
  base: /go
  path: src/github.com/metalmatze/digitalocean_exporter

steps:
- name: build
  pull: always
  image: golang:alpine
  commands:
  - apk add -U git make
  - make fmt
  - make vet
  - make lint
  - make test
  - make build

- name: release
  image: golang:alpine
  commands:
  - apk add -U git make
  - make release
  when:
    event:
    - tag
<commit_msg>Don't run go fmt in CI<commit_after>---
kind: pipeline
name: default

platform:
  os: linux
  arch: amd64

workspace:
  base: /go
  path: src/github.com/metalmatze/digitalocean_exporter

steps:
- name: build
  pull: always
  image: golang:alpine
  commands:
  - apk add -U git make
  - make build
  - make test
  - make vet
  - make lint

- name: release
  image: golang:alpine
  commands:
  - apk add -U git make
  - make release
  when:
    event:
    - tag

{'fraction_non_alphanumeric': 0.09523809523809523, 'fraction_numerical': 0.004329004329004329, 'mean_word_length': 2.4774436090225564, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '6828963', 'n_tokens_mistral': 364, 'n_tokens_neox': 349, 'n_words': 109}