Skip to content

Commit f2140e4

Browse files
committed
Improve github actions.
Use newer cabal. Specify target to build.
1 parent d6e1dcf commit f2140e4

File tree

5 files changed

+3
-3
lines changed

5 files changed

+3
-3
lines changed

.github/workflows/haskell.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/setup-haskell@v1
1717
with:
1818
ghc-version: '8.10.2'
19-
cabal-version: '3.0'
19+
cabal-version: '3.2'
2020

2121
- name: Cache
2222
uses: actions/cache@v1
@@ -33,7 +33,7 @@ jobs:
3333
- name: Install dependencies
3434
run: |
3535
cabal update
36-
cabal build --only-dependencies --enable-tests --enable-benchmarks
36+
cabal build --only-dependencies --enable-tests --enable-benchmarks cheops-logger
3737
- name: Build
3838
run: cabal build --enable-tests --enable-benchmarks all
3939
- name: Run tests

cheops-logger.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ library metrics-noop
8080
exposed-modules:
8181
Cheops.Logger.Internal.Metric.Noop
8282
reexported-modules:
83-
Cheops.Logger.Internal.Metric.Noop as Metrics
83+
Cheops.Logger.Internal.Metric.Noop as Cheops.Logger.Internal.Metrics
8484
hs-source-dirs: src
8585
default-language: Haskell2010
8686
build-depends:

examples/Main

2.49 KB
Binary file not shown.

examples/Main.hi

71 Bytes
Binary file not shown.

examples/Main.o

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)