git.iko.soy/deriving-openapi3
on master help sign in
2 files changed+4−13
since splitsnapshots
unifiedsplit
.github/workflows/build.yaml+2−2 deriving-openapi3.cabal+2−11
.github/workflows/build.yaml+2−2
@@ -17,7 +17,7 @@ jobs:
1717 - name: Check library version
1818 if: github.event_name == 'release'
1919 run: |
20− if [ "$(yq eval ".version" package.yaml)" != "${{ github.event.release.tag_name }}" ]; then
20+ if [ "$(awk -F":" '{if ($1 == "version") {gsub(/ /, "", $2); print $2}}' *.cabal)" != "${{ github.event.release.tag_name }}" ]; then
2121 echo "::error file=action.yaml::Library version does not match release version."
2222 exit 1
2323 fi
@@ -33,7 +33,7 @@ jobs:
3333 path: |
3434 ~/.stack
3535 .stack-work
36− key: ${{ runner.os }}-stack-${{ hashFiles('stack.yaml') }}-${{ hashFiles('package.yaml') }}
36+ key: ${{ runner.os }}-stack-${{ hashFiles('stack.yaml') }}-${{ hashFiles('**.cabal') }}
3737 restore-keys: |
3838 ${{ runner.os }}-stack-${{ hashFiles('stack.yaml') }}
3939 ${{ runner.os }}-stack
deriving-openapi3.cabal+2−11
@@ -22,11 +22,6 @@ source-repository head
2222 type: git
2323 location: https://github.com/ilyakooo0/deriving-openapi3
2424
25−flag servant-description
26− description: Create instances for the 'Description' type from 'servant'
27− manual: False
28− default: True
29−
3025library
3126 exposed-modules:
3227 Deriving.OpenApi
@@ -52,13 +47,9 @@ library
5247 ghc-options: -Weverything -Wno-star-is-type -Wno-unsafe -Wno-prepositive-qualified-module -Wno-safe -Wno-missing-safe-haskell-mode -Wno-missing-import-lists -Wno-implicit-prelude
5348 build-depends:
5449 aeson
55− , base
56− , deriving-aeson
50+ , base >=4.12
51+ , deriving-aeson >=0.2.2
5752 , lens
5853 , openapi3
5954 , text
60− if flag(servant-description)
61− cpp-options: -DSERVANT_DESCRIPTION
62− build-depends:
63− servant
6455 default-language: Haskell2010