We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 01d5ca4 + b777965 commit 3077f8aCopy full SHA for 3077f8a
2 files changed
.github/workflows/ci.yml
@@ -43,6 +43,14 @@ jobs:
43
with:
44
path: ${{ steps.cabal-store.outputs.path }}
45
key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('**/*.cabal') }}
46
+ - name: Extract New-Hackage-Versions git trailer from Renovate
47
+ if: ${{ github.event_name == 'pull_request' }}
48
+ run: |
49
+ for constraint in $(git log "--format=%(trailers:key=New-Hackage-Versions,valueonly=true)" ${{ github.event.pull_request.head.sha }} -1)
50
+ do
51
+ echo "constraints: $constraint" >> cabal.project.local
52
+ echo "::notice title=Dependency Constraint Applied::$constraint"
53
+ done
54
- name: Build dependencies
55
run: cabal build all --only-dependencies
56
- name: Save cache
cabal.project
@@ -0,0 +1 @@
1
+packages: .
0 commit comments