<commit_before>name: Go

on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]

jobs:

  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2

    - name: Set up Go
      uses: actions/setup-go@v2
      with:
        go-version: 1.15

    - name: Build
      run: go build -v ./...

    - name: Test
      run: go test -v -cover -coverprofile=coverage ./...

    - name: Upload Coverage
      uses: codecov/codecov-action@v1
      with:
        file: coverage<commit_msg>Change the name of coverage file<commit_after>name: Go

on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]

jobs:

  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2

    - name: Set up Go
      uses: actions/setup-go@v2
      with:
        go-version: 1.15

    - name: Build
      run: go build -v ./...

    - name: Test
      run: go test -v -cover -coverprofile=coverage.txt ./...

    - name: Upload Coverage
      uses: codecov/codecov-action@v1
      with:
        file: coverage.txt
{'fraction_non_alphanumeric': 0.11920529801324503, 'fraction_numerical': 0.011352885525070956, 'mean_word_length': 1.7842105263157895, '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': '5489909', 'n_tokens_mistral': 384, 'n_tokens_neox': 369, 'n_words': 98}