<commit_before>name: "CI"
on:
  pull_request:
  push:
jobs:
  dockerimage:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2.3.1
      - uses: cachix/install-nix-action@v12
        with:
          nix_path: nixpkgs=channel:nixos-unstable
      - uses: cachix/cachix-action@v8
        with:
          name: project-m36
          signingKey: "${{ secrets.CACHIX_SIGNING_KEY }}"
      - run: cachix use iohk
      - name: docker load
        run: docker load < $(nix-build docker.nix)
      - name: docker login
        if: ${{ github.ref == 'refs/heads/master' }}
        run: echo ${{secrets.DOCKERHUB_PASSWORD}} | docker login --username ${{secrets.DOCKERHUB_USER}} --password-stdin
      - name: docker tag with version
        run: docker tag project-m36:latest projectm36/project-m36:$(awk '/^Version:/ {print $2}' project-m36.cabal)<commit_msg>bump cachix github action version<commit_after>name: "CI"
on:
  pull_request:
  push:
jobs:
  dockerimage:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2.3.1
      - uses: cachix/install-nix-action@v12
        with:
          nix_path: nixpkgs=channel:nixos-unstable
      - uses: cachix/cachix-action@v10
        with:
          name: project-m36
          signingKey: "${{ secrets.CACHIX_SIGNING_KEY }}"
      - run: cachix use iohk
      - name: docker load
        run: docker load < $(nix-build docker.nix)
      - name: docker login
        if: ${{ github.ref == 'refs/heads/master' }}
        run: echo ${{secrets.DOCKERHUB_PASSWORD}} | docker login --username ${{secrets.DOCKERHUB_USER}} --password-stdin
      - name: docker tag with version
        run: docker tag project-m36:latest projectm36/project-m36:$(awk '/^Version:/ {print $2}' project-m36.cabal)
{'fraction_non_alphanumeric': 0.13174332765474162, 'fraction_numerical': 0.019875070982396367, 'mean_word_length': 2.489108910891089, 'pattern_counts': {'":': 0, '<': 5, '<?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': '2610767', 'n_tokens_mistral': 666, 'n_tokens_neox': 606, 'n_words': 131}