<commit_before>name: MacOS CI

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build:
    runs-on: macos-latest

    steps:
      - name: Check out
        uses: actions/checkout@v2

      # - uses: actions/cache@v1
      #   name: Cache ~/.stack
      #   with:
      #     path: ~/.stack
      #     key: ${{ runner.os }}-stack-${{ github.sha }}
      #     restore-keys: ${{ runner.os }}-stack-

      - name: Install SDL dependency (for SDL tests)
        run: |
          brew install sdl2       \
                       sdl2_gfx   \
                       sdl2_image \
                       sdl2_mixer \
                       sdl2_ttf

      - uses: actions/setup-haskell@v1.1
        with:
          ghc-version: '8.8.2'
          stack-version: '2.3.1'
          enable-stack: true
          stack-no-global: true
          stack-setup-ghc: true

      - name: Build
        run: stack build

      - name: Run Compiler Tests
        run: stack test

      - name: Run Carp Tests
        run: ./scripts/run_carp_tests.sh
<commit_msg>Simplifies MacOS CI by removing custom version in setup-haskell<commit_after>name: MacOS CI

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build:
    runs-on: macos-latest

    steps:
      - name: Check out
        uses: actions/checkout@v2

      # - uses: actions/cache@v1
      #   name: Cache ~/.stack
      #   with:
      #     path: ~/.stack
      #     key: ${{ runner.os }}-stack-${{ github.sha }}
      #     restore-keys: ${{ runner.os }}-stack-

      - name: Install SDL dependency (for SDL tests)
        run: |
          brew install sdl2       \
                       sdl2_gfx   \
                       sdl2_image \
                       sdl2_mixer \
                       sdl2_ttf

      - uses: actions/setup-haskell@v1

      - name: Build
        run: stack build

      - name: Run Compiler Tests
        run: stack test

      - name: Run Carp Tests
        run: ./scripts/run_carp_tests.sh

{'fraction_non_alphanumeric': 0.10534051935325821, 'fraction_numerical': 0.011268985791278784, 'mean_word_length': 1.3073446327683615, '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': '86344', 'n_tokens_mistral': 674, 'n_tokens_neox': 631, 'n_words': 159}