<commit_before>name: ci

on:
  push:
  pull_request:
jobs:
  run-tests:
    name: Run Tests
    runs-on: ubuntu-latest
    strategy:
      matrix:
        go-version:
          - 1.18
          - 1.17
          - 1.16
          - 1.15
    steps:
      - uses: actions/checkout@v2
      - name: Set up Go
        uses: actions/setup-go@v2
        with:
          go-version: ${{ matrix.go-version }}
      - name: Install deps 
        run: go get -d ./...
      - name: Tests
        run: make test
#  The latest golint version has lint errors that need to be
#  fixed before this is turned on.
#      - name: Install golint
#        if: ${{ matrix.go-version == '1.17' }}
#        run: |
#          go install golang.org/x/lint/golint@latest
#          make check<commit_msg>Use go mod download instead of go get<commit_after>name: ci

on:
  push:
  pull_request:
jobs:
  run-tests:
    name: Run Tests
    runs-on: ubuntu-latest
    strategy:
      matrix:
        go-version:
          - 1.18
          - 1.17
          - 1.16
          - 1.15
    steps:
      - uses: actions/checkout@v2
      - name: Set up Go
        uses: actions/setup-go@v2
        with:
          go-version: ${{ matrix.go-version }}
      - name: Install deps 
        run: go mod download
      - name: Tests
        run: make test
#  The latest golint version has lint errors that need to be
#  fixed before this is turned on.
#      - name: Install golint
#        if: ${{ matrix.go-version == '1.17' }}
#        run: |
#          go install golang.org/x/lint/golint@latest
#          make check
{'fraction_non_alphanumeric': 0.10913705583756345, 'fraction_numerical': 0.021573604060913704, 'mean_word_length': 1.507154213036566, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5777537', 'n_tokens_mistral': 541, 'n_tokens_neox': 512, 'n_words': 150}