<commit_before>name: Packages

on:
  push:
  pull_request:

jobs:
  check:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        include:
          - version: jessie
            packages: pkg-config libssl-dev
            rust: 1.44.1
          - version: stretch
            packages: pkg-config libssl1.0-dev
            rust: 1.44.1
          - version: buster
            packages: pkg-config libssl-dev
            rust: stable

    container: debian:${{matrix.version}}

    steps:
      - uses: actions/checkout@v2
      - name: Install requirements
        run: |
          apt-get update
          apt-get install -y curl wget build-essential
          apt-get install -y ${{ matrix.packages }}
      - name: Install rust
        uses: actions-rs/toolchain@v1
        with:
          profile: minimal
          toolchain: {{ matrix.rust }}
          components: rustfmt, clippy
      - name: Build package
        run: ./scripts/build_deb.sh ${{ matrix.version }}
      - uses: actions/upload-artifact@v2
        with:
          name: debian-package
          path: ./scripts/deb-scratch/*<commit_msg>[Fixed] Invalid workflow syntax<commit_after>name: Packages

on:
  push:
  pull_request:

jobs:
  check:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        include:
          - version: jessie
            packages: pkg-config libssl-dev
            rust: 1.44.1
          - version: stretch
            packages: pkg-config libssl1.0-dev
            rust: 1.44.1
          - version: buster
            packages: pkg-config libssl-dev
            rust: stable

    container: debian:${{matrix.version}}

    steps:
      - uses: actions/checkout@v2
      - name: Install requirements
        run: |
          apt-get update
          apt-get install -y curl wget build-essential
          apt-get install -y ${{ matrix.packages }}
      - name: Install rust
        uses: actions-rs/toolchain@v1
        with:
          profile: minimal
          toolchain: ${{ matrix.rust }}
          components: rustfmt, clippy
      - name: Build package
        run: ./scripts/build_deb.sh ${{ matrix.version }}
      - uses: actions/upload-artifact@v2
        with:
          name: debian-package
          path: ./scripts/deb-scratch/*
{'fraction_non_alphanumeric': 0.09968985378821445, 'fraction_numerical': 0.011519716437749225, 'mean_word_length': 1.6013824884792627, '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': '2105889', 'n_tokens_mistral': 680, 'n_tokens_neox': 638, 'n_words': 162}