diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 841a3f3..94d3b99 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -13,8 +13,10 @@ jobs: include: - ghc: 8.8.1 ghc-options: "" - ignore-haddock: "true" + ignore-haddock: true + ignore-cabal-check: true - ghc: latest + ignore-cabal-check: true runs-on: ubuntu-latest @@ -25,3 +27,4 @@ jobs: ghc: ${{matrix.ghc}} ghc-options: ${{matrix.ghc-options}} ignore-haddock: ${{matrix.ignore-haddock}} + ignore-cabal-check: ${{matrix.ignore-cabal-check}} diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml new file mode 100644 index 0000000..243bc33 --- /dev/null +++ b/.github/workflows/format.yaml @@ -0,0 +1,9 @@ +name: Format + +on: + workflow_call: + +jobs: + format: + uses: nikita-volkov/haskell-hackage-lib-github-actions-workflows/.github/workflows/format.yaml@v3 + secrets: inherit diff --git a/.github/workflows/on-push-to-master-or-pr.yaml b/.github/workflows/on-push-to-master-or-pr.yaml index 7e14ae2..aa9171e 100644 --- a/.github/workflows/on-push-to-master-or-pr.yaml +++ b/.github/workflows/on-push-to-master-or-pr.yaml @@ -1,3 +1,5 @@ +name: Compile, test and check the docs + on: push: branches: @@ -7,7 +9,7 @@ on: jobs: format: - uses: nikita-volkov/haskell-hackage-lib-github-actions-workflows/.github/workflows/format.yaml@v1 + uses: ./.github/workflows/format.yaml secrets: inherit check: diff --git a/.github/workflows/on-push-to-release.yaml b/.github/workflows/on-push-to-release.yaml index 19636d0..3c002ad 100644 --- a/.github/workflows/on-push-to-release.yaml +++ b/.github/workflows/on-push-to-release.yaml @@ -1,3 +1,5 @@ +name: Release the lib to Hackage + on: push: branches: @@ -13,9 +15,9 @@ concurrency: jobs: format: - uses: nikita-volkov/haskell-hackage-lib-github-actions-workflows/.github/workflows/format.yaml@v1 + uses: ./.github/workflows/format.yaml secrets: inherit - + check: uses: ./.github/workflows/check.yaml secrets: inherit @@ -24,7 +26,7 @@ jobs: needs: - format - check - uses: nikita-volkov/haskell-hackage-lib-github-actions-workflows/.github/workflows/release.yaml@v1 + uses: nikita-volkov/haskell-hackage-lib-github-actions-workflows/.github/workflows/release.yaml@v3 secrets: inherit with: prefix-tag-with-v: false