diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..7e26105 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,28 @@ +name: build +on: + push: + branches: + - main + pull_request: + types: + - opened + - synchronize + +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + matrix: + ghc: ['9.0.2'] + cabal: ['3.6'] + os: [ubuntu-latest, macOS-latest, windows-latest] + name: Haskell GHC ${{ matrix.ghc }} ${{ matrix.os }} + steps: + - uses: actions/checkout@v3 + - name: Setup Haskell + uses: haskell/actions/setup@v2 + with: + ghc-version: ${{ matrix.ghc }} + cabal-version: ${{ matrix.cabal }} + - run: | + cabal test \ No newline at end of file diff --git a/.gitignore b/.gitignore index 321a5b5..627c369 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ .stack-work/ *~ +dist-newstyle/ *.lock # This is a lib, we'd rather not commit the lock file...