Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to GHC 9.10 #17

Merged
merged 3 commits into from
May 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 0 additions & 21 deletions .devcontainer/compose.yaml

This file was deleted.

14 changes: 0 additions & 14 deletions .devcontainer/devcontainer.json

This file was deleted.

12 changes: 0 additions & 12 deletions .github/dependabot.yaml

This file was deleted.

6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
updates:
- directory: /
package-ecosystem: github-actions
schedule:
interval: weekly
version: 2
80 changes: 80 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
jobs:
build-cabal:
name: GHC ${{ matrix.ghc }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
submodules: true
- id: haskell
uses: haskell-actions/setup@v2
with:
ghc-version: ${{ matrix.ghc }}
- run: ghc-pkg list
- run: cabal configure --enable-tests --flags=pedantic --jobs
- run: cat cabal.project.local
- run: cabal freeze
- run: cat cabal.project.freeze
- run: cabal outdated --v2-freeze-file
- uses: actions/cache@v4
with:
key: ${{ matrix.os }}-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }}
path: ${{ steps.haskell.outputs.cabal-store }}
restore-keys: ${{ matrix.os }}-${{ matrix.ghc }}-
- run: cabal build --only-download all
- run: cabal build --only-dependencies all
- run: cabal build all
- run: cabal run -- burrito-test-suite --randomize --strict
strategy:
matrix:
include:
- ghc: '9.10'
os: macos-13
- ghc: '9.10'
os: macos-14
- ghc: 9.6
os: ubuntu-22.04
- ghc: 9.8
os: ubuntu-22.04
- ghc: '9.10'
os: ubuntu-22.04
- ghc: '9.10'
os: windows-2022
build-stack:
env:
STACK_ROOT: ${{ github.workspace }}/.stack-root
name: Stackage ${{ matrix.snapshot }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: haskell-actions/setup@v2
with:
enable-stack: true
stack-no-global: true
- uses: actions/cache@v4
with:
key: ${{ matrix.snapshot }}
path: |
.stack-root
.stack-work
- run: stack --snapshot ${{ matrix.snapshot }} test --no-run-tests
strategy:
matrix:
snapshot:
- lts
- nightly
name: CI
on:
pull_request:
branches:
- main
push:
branches:
- main
release:
types:
- created
schedule:
- cron: 0 0 * * 1
156 changes: 0 additions & 156 deletions .github/workflows/workflow.yaml

This file was deleted.

1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/.vscode/
/cabal.project.*
/dist-newstyle/
/volumes/
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
[submodule "github-release"]
path = github-release
url = https://github.com/tfausak/github-release.git
[submodule "imp"]
path = imp
url = https://github.com/tfausak/imp.git
[submodule "json-feed"]
path = json-feed
url = https://github.com/tfausak/json-feed.git
Expand Down
71 changes: 21 additions & 50 deletions .hlint.yaml
Original file line number Diff line number Diff line change
@@ -1,50 +1,21 @@
[
{
"group": {
"enabled": true,
"name": "dollar"
}
},
{
"group": {
"enabled": true,
"name": "future"
}
},
{
"group": {
"enabled": true,
"name": "generalise"
}
},
{
"ignore": {
"name": "Redundant bracket"
}
},
{
"ignore": {
"name": "Use lambda-case"
}
},
{
"ignore": {
"name": "Use list comprehension"
}
},
{
"ignore": {
"name": "Use tuple-section"
}
},
{
"ignore": {
"name": "Use <$>"
}
},
{
"ignore": {
"name": "Use <|>"
}
}
]
- group:
enabled: true
name: dollar
- group:
enabled: true
name: future
- group:
enabled: true
name: generalise
- ignore:
name: Redundant bracket
- ignore:
name: Use lambda-case
- ignore:
name: Use list comprehension
- ignore:
name: Use tuple-section
- ignore:
name: Use <$>
- ignore:
name: Use <|>
Loading