Skip to content

Commit

Permalink
Move to reusable workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
nikita-volkov committed Oct 12, 2023
1 parent fea3d5d commit 7232c47
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 102 deletions.
35 changes: 0 additions & 35 deletions .github/workflows/cd.yaml

This file was deleted.

67 changes: 0 additions & 67 deletions .github/workflows/ci.yaml

This file was deleted.

12 changes: 12 additions & 0 deletions .github/workflows/format.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Format the code

on:
push:
branches:
- master
pull_request:

jobs:
format:
uses: nikita-volkov/haskell-hackage-lib-github-actions-workflows/.github/workflows/format-stage.yaml@f87b88930e05b9310b5bf4ad415c0f6bfcfc0967
secrets: inherit
21 changes: 21 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Release the lib to Hackage

on:
push:
branches:
- supermajor
- major
- minor
- patch

concurrency:
group: release
cancel-in-progress: false

jobs:

release:
uses: nikita-volkov/haskell-hackage-lib-github-actions-workflows/.github/workflows/release-stage.yaml@f87b88930e05b9310b5bf4ad415c0f6bfcfc0967
secrets: inherit
with:
prefix-tag-with-v: false
13 changes: 13 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Compile, test and check the docs

on:
push:
branches:
- master
pull_request:

jobs:

test:
uses: nikita-volkov/haskell-hackage-lib-github-actions-workflows/.github/workflows/test-stage.yaml@f87b88930e05b9310b5bf4ad415c0f6bfcfc0967
secrets: inherit

0 comments on commit 7232c47

Please sign in to comment.