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

Add a workflow to dry run cabal-install #10740

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
47 changes: 47 additions & 0 deletions .github/workflows/check-install.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Check install

# See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency.
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true

on:
push:
paths-ignore:
- 'CONTRIBUTING.md'
- 'doc/**'
- 'release-notes/**'
- 'Cabal-tests/test/**'
- 'cabal-testsuite/PackageTests/**'
pull_request:
paths-ignore:
geekosaur marked this conversation as resolved.
Show resolved Hide resolved
- 'CONTRIBUTING.md'
- 'doc/**'
- 'release-notes/**'
- 'Cabal-tests/test/**'
- 'cabal-testsuite/PackageTests/**'
release:
types:
- created

jobs:

cabal-install-dry-run:
name: cabal install with ghc-${{ matrix.ghc }}
runs-on: ubuntu-latest
strategy:
matrix:
ghc:
["9.12.1"]
geekosaur marked this conversation as resolved.
Show resolved Hide resolved

steps:

- uses: haskell-actions/setup@v2
id: setup-haskell
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: latest

- uses: actions/checkout@v4

- run: cabal install cabal-install --dry-run
Loading