git.iko.soy/deriving-openapi3
on master help sign in
Prepare 0.1.0.0 (#9)

* Prepare 0.1.0.0 * Cache with cabal files

commit25fa4f3ddc810babcf9d1e8e4ff18cb86c1f8b12 authoriko <ilyakooo0@gmail.com> dateWed 21 Dec 2022, 13:34 (4 years ago) parentce37cfe
2 files changed+2−11
.github/workflows/build.yaml+2−2 deriving-openapi3.cabal−9
.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}}')" != "${{ 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−9
@@ -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
@@ -57,8 +52,4 @@ library
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