<NME> CI.yml
<BEF> name: CI

on:
  push:
    branches: '**'
  pull_request:
    branches:
    - main

defaults:
  run:
      matrix:
        os:
        - windows-latest
        - macOS-latest

    name: ci-${{ matrix.os }}
    runs-on: ${{ matrix.os }}
        - ubuntu-latest
        - windows-latest
        # - macOS-latest

    name: ci-${{ matrix.os }}
    runs-on: ${{ matrix.os }}

    steps:
    - name: Configure environment
      run: |
        git config --global core.autocrlf false
    - uses: actions/checkout@v2
    - uses: haskell/actions/setup@v1
      name: Setup Haskell
      id: setup-haskell
      with:
        ghc-version: 9.0.2
    - uses: actions/cache@v2
      name: Cache cabal-v2-${{ runner.os }}-${{ hashFiles('cabal.project.freeze') }}
      with:
        path: ${{ steps.setup-haskell.outputs.cabal-store }}
        key: cabal-v2-${{ runner.os }}-${{ hashFiles('cabal.project.freeze') }}
    # - uses: actions/cache@v2
    #   name: Cache dist
    #   with:
    #     path: dist-newstyle
    #     key: dist-v1-${{ runner.os }}
    - run: cabal v2-update
    - run: ./build.sh -- dependencies
    - run: ./build.sh -- build
    - name: Tests
      if: runner.os != 'Windows'
      run: |
        ./build.sh
    - name: Tests (for Windows)
      if: runner.os == 'Windows'
      run: |
        ./build.sh -- unit-tests
        echo "##[warning]integration tests are currently disabled on Windows CI"

<MSG> No need to build Mac CI; it's close enough to Linux

<DFF> @@ -12,7 +12,7 @@ jobs:
       matrix:
         os:
         - windows-latest
-        - macOS-latest
+        # - macOS-latest
 
     name: ci-${{ matrix.os }}
     runs-on: ${{ matrix.os }}

{'addition_count': 1, 'commit_subject': "No need to build Mac CI; it's close enough to Linux", 'deletion_count': 1, 'file_extension': '.yml', 'lang': 'github/workflows/CI', 'license': 'bsd-3-clause', 'repo_name': 'avh4/elm-format'}