<commit_before>name: 'build test deploy'

on:
  push:
    branches: [ master ]

jobs:
  build:
    runs-on: ubuntu-20.04
    name: JDK ${{ matrix.java }}
    continue-on-error: ${{ matrix.java == '16-ea' }}
    strategy:
      matrix:
        java: [ 8, 11, 16-ea ]

    steps:
      - name: Checkout...
        uses: actions/checkout@v2

      - name: Set up JDK...
        uses: actions/setup-java@v1
        with:
          java-version: ${{ matrix.java }}

      - name: Retrieve mvn repo cache...
        uses: actions/cache@v2
        with:
          path: ~/.m2/repository
          key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}-build-v1
          restore-keys: ${{ runner.os }}-maven

      - name: Build and test...
        run: mvn clean verify

  deploy:
    needs: build
    runs-on: ubuntu-20.04

    steps:
      - name: Checkout...
        uses: actions/checkout@v2

      # this action exports env.POM_VERSION variable<commit_msg>Enable GitHub actions<commit_after>name: 'build test deploy'

on:
  push:
    branches: [ master ]

jobs:
  build:
    runs-on: ubuntu-20.04
    name: JDK ${{ matrix.java }}
    strategy:
      matrix:
        java: [ 8 ]

    steps:
      - name: Checkout...
        uses: actions/checkout@v2

      - name: Set up JDK...
        uses: actions/setup-java@v1
        with:
          java-version: ${{ matrix.java }}

      - name: Retrieve mvn repo cache...
        uses: actions/cache@v2
        with:
          path: ~/.m2/repository
          key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}-build-v1
          restore-keys: ${{ runner.os }}-maven

      - name: Build and test...
        run: mvn clean verify

  deploy:
    needs: build
    runs-on: ubuntu-20.04

    steps:
      - name: Checkout...
        uses: actions/checkout@v2

      # this action exports env.POM_VERSION variable
{'fraction_non_alphanumeric': 0.14446831364124596, 'fraction_numerical': 0.01933404940923738, 'mean_word_length': 1.7397058823529412, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '5365871', 'n_tokens_mistral': 661, 'n_tokens_neox': 607, 'n_words': 154}