Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable the 'Run workflow' button #276

Merged
merged 4 commits into from
Feb 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ on:
# Build once a month, to detect missing upper bounds.
schedule:
- cron: '0 0 1 * *'

workflow_dispatch:

jobs:
stack:
Expand Down Expand Up @@ -50,7 +52,7 @@ jobs:
.stack-work
key: ${{ runner.os }}-stack-${{ hashFiles(matrix.stack_yaml) }}-6

- uses: haskell/actions/setup@v1
- uses: haskell-actions/setup@v2
id: setup-haskell-stack
name: Setup Stack
with:
Expand Down Expand Up @@ -94,14 +96,18 @@ jobs:
# Check that our upper bounds are correct by building with the latest
# version of everything. We use cabal because it uses the latest
# versions of our dependencies allowed by our upper bounds.
#
# TODO: revert to "ghc: latest" once the latest version of ghc is
# supported, so we can detect when an even-more-recent version of ghc
# is released and breaks hawk.
- name: newest
ghc: latest
ghc: 8.10.4
os: ubuntu-latest

steps:
- uses: actions/checkout@v2

- uses: haskell/actions/setup@v1
- uses: haskell-actions/setup@v2
id: setup-haskell-cabal
name: Setup Cabal
with:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/installation-methods.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ on:
#pull_request:
# types: [opened, synchronize]

workflow_dispatch:

jobs:
# the stack installation method is already covered by the regular CI tests
installation-methods:
Expand All @@ -26,14 +28,14 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: haskell/actions/setup@v1
- uses: haskell-actions/setup@v2
if: matrix.method == 'v1-install' || matrix.method == 'cabal-sandbox'
id: setup-haskell-cabal_1
name: Setup Cabal
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: 3.2
- uses: haskell/actions/setup@v1
- uses: haskell-actions/setup@v2
if: matrix.method != 'v1-install' && matrix.method != 'cabal-sandbox'
id: setup-haskell-cabal_2
name: Setup Cabal
Expand Down
13 changes: 8 additions & 5 deletions haskell-awk.cabal
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
cabal-version: 1.24

-- This file has been generated from package.yaml by hpack version 0.33.0.
-- This file has been generated from package.yaml by hpack version 0.35.2.
--
-- see: https://github.com/sol/hpack
--
-- hash: 7517e27fc1a323df0f63f63937abf935ca1ecdd5376effed8078a1c1dd86928a
-- hash: 186d50c3926564fc359e64329c322981465bb7d43c4c1c3fb8f2edfa8c60a5f0

name: haskell-awk
version: 1.2.0.1
Expand All @@ -18,6 +18,9 @@ maintainer: Samuel Gélineau <gelisam@gmail.com>, Jens Petersen <juhpetersen
license: Apache-2.0
license-file: LICENSE
build-type: Custom
tested-with:
GHC==8.0.2
, GHC==8.10.4
extra-source-files:
README.md
CHANGELOG.md
Expand Down Expand Up @@ -70,10 +73,10 @@ library
, ghc >=8.0.2
, list-t >=1
, stringsearch >=0.3.6.6
default-language: Haskell2010
if os(windows)
build-depends:
base <0
default-language: Haskell2010

executable hawk
main-is: Main.hs
Expand Down Expand Up @@ -133,10 +136,10 @@ executable hawk
, process >=1.4.3.0
, template-haskell >=2.11.1.0
, transformers >=0.5.2.0
default-language: Haskell2010
if os(windows)
build-depends:
base <0
default-language: Haskell2010

test-suite reference
type: exitcode-stdio-1.0
Expand Down Expand Up @@ -216,7 +219,7 @@ test-suite reference
, test-framework-hunit >=0.3.0.2
, time >=1.6.0.1
, transformers >=0.5.2.0
default-language: Haskell2010
if os(windows)
build-depends:
base <0
default-language: Haskell2010
4 changes: 4 additions & 0 deletions package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,7 @@ tests:
- test-framework-hunit >= 0.3.0.2
- time >= 1.6.0.1
- transformers >= 0.5.2.0

tested-with:
- GHC==8.0.2
- GHC==8.10.4
Loading