<commit_before>name: build

on:
  push:
  pull_request:
    branches: [ master ]

jobs:
  build:

    runs-on: ubuntu-latest
    timeout-minutes: 10
    strategy:
      fail-fast: false
      matrix:
        java: [8, 11]
        scala: ['2_11', '2_12', '2_13']

    steps:
    - uses: actions/checkout@v3
    - name: Set up JDK
      uses: actions/setup-java@v3.1.1
      with:
        java-version: ${{ matrix.java }}
        distribution: adopt
    - name: Run tests
      run: |
        case ${{ matrix.scala }} in
          "2_11")
            sbt -v SetScala211 test unidoc
            ;;
          "2_12")
            sbt -v SetScala212 test unidoc
            ;;
          "2_13")
            sbt -v SetScala213 test unidoc
            ;;
          *)
            echo "unknown scala version"
            exit 1
        esac
        git diff --exit-code<commit_msg>Bump actions/setup-java from 3.1.1 to 3.2.0<commit_after>name: build

on:
  push:
  pull_request:
    branches: [ master ]

jobs:
  build:

    runs-on: ubuntu-latest
    timeout-minutes: 10
    strategy:
      fail-fast: false
      matrix:
        java: [8, 11]
        scala: ['2_11', '2_12', '2_13']

    steps:
    - uses: actions/checkout@v3
    - name: Set up JDK
      uses: actions/setup-java@v3.2.0
      with:
        java-version: ${{ matrix.java }}
        distribution: adopt
    - name: Run tests
      run: |
        case ${{ matrix.scala }} in
          "2_11")
            sbt -v SetScala211 test unidoc
            ;;
          "2_12")
            sbt -v SetScala212 test unidoc
            ;;
          "2_13")
            sbt -v SetScala213 test unidoc
            ;;
          *)
            echo "unknown scala version"
            exit 1
        esac
        git diff --exit-code
{'fraction_non_alphanumeric': 0.10923423423423423, 'fraction_numerical': 0.04504504504504504, 'mean_word_length': 1.356763925729443, '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': '2237346', 'n_tokens_mistral': 645, 'n_tokens_neox': 586, 'n_words': 150}