Skip to content

Commit

Permalink
Move to Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
nikita-volkov committed Oct 12, 2023
1 parent 558850a commit 9353442
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 61 deletions.
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@7e8df8d36f4b50ec4c3585aaaed4bf3892f313f2
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@7e8df8d36f4b50ec4c3585aaaed4bf3892f313f2
secrets: inherit
with:
prefix-tag-with-v: false
29 changes: 29 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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@7e8df8d36f4b50ec4c3585aaaed4bf3892f313f2
secrets: inherit

# Service containers to run with `container-job`
services:
# Label used to access the service container
postgres:
# Docker Hub image
image: postgres
# Provide the password for postgres
env:
POSTGRES_PASSWORD: postgres
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
61 changes: 0 additions & 61 deletions .travis.yml

This file was deleted.

0 comments on commit 9353442

Please sign in to comment.