-
Notifications
You must be signed in to change notification settings - Fork 697
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It can be started manually to check that certain version bumps build fine. It will ask to input an allow-newer line and a constraint line, which it will add to the cabal.project file. For example: the "filepath" allow-newer line and "filepath == 1.5" constraints line will make sure that the build plan will have `filepath` at version 1.5.
- Loading branch information
1 parent
8070ab1
commit 8e31729
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Validate Revision | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
allow-newer: | ||
description: allow-newer line | ||
required: true | ||
type: string | ||
constraints: | ||
description: constraints line | ||
required: true | ||
type: string | ||
env: | ||
ALLOWNEWER: ${{ github.event.inputs.allow-newer }} | ||
CONSTRAINTS: ${{ github.event.inputs.constraints }} | ||
|
||
jobs: | ||
validate-main: | ||
uses: ./.github/workflows/validate.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,7 @@ on: | |
release: | ||
types: | ||
- created | ||
workflow_call: | ||
|
||
env: | ||
# We choose a stable ghc version across all os's | ||
|