Clean up github workflows (#172)

* Clean up workflows

* Remove build status badge
This commit is contained in:
Connor Prussin 2021-03-22 12:20:17 -07:00 committed by GitHub
parent 1ad5a08306
commit 43f89f139b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 42 additions and 49 deletions

42
.github/workflows/check.yaml vendored Normal file
View File

@ -0,0 +1,42 @@
name: Check
on:
pull_request:
push:
branches:
- master
- 'v[0-9]*.[0-9]*.x'
jobs:
Test:
runs-on: ubuntu-latest
steps:
- name: Check out codebase
uses: actions/checkout@v2
- name: Install nix
uses: cachix/install-nix-action@v12
with:
nix_path: nixpkgs=channel:nixos-20.09
- name: Build
run: nix-shell --run 'make build'
- name: Test
run: nix-shell --run 'make test-code'
Validate_Format:
runs-on: ubuntu-latest
steps:
- name: Check out codebase
uses: actions/checkout@v2
- name: Install nix
uses: cachix/install-nix-action@v12
with:
nix_path: nixpkgs=channel:nixos-20.09
- name: Validate Format
run: nix-shell --run 'make test-format'

View File

@ -1,24 +0,0 @@
name: Test
on:
pull_request:
push:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out codebase
uses: actions/checkout@v2
- name: Install nix
uses: cachix/install-nix-action@v12
with:
nix_path: nixpkgs=channel:nixos-20.09
- name: Build
run: nix-shell --run 'make build'
- name: Test
run: nix-shell --run 'make test-code'

View File

@ -1,24 +0,0 @@
name: Validate Formatting
on:
pull_request:
push:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out codebase
uses: actions/checkout@v2
- name: Install nix
uses: cachix/install-nix-action@v12
with:
nix_path: nixpkgs=channel:nixos-20.09
- name: Build
run: nix-shell --run 'make build'
- name: Test
run: nix-shell --run 'make test-format'

View File

@ -2,7 +2,6 @@
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/cprussin/purescript-httpure/master/License)
[![Latest release](http://img.shields.io/github/release/cprussin/purescript-httpure.svg)](https://github.com/cprussin/purescript-httpure/releases)
[![Build Status](https://github.com/cprussin/purescript-httpure/actions/workflows/test.yaml/badge.svg)](https://github.com/cprussin/purescript-httpure/actions/workflows/test.yaml)
[![purescript-httpure on Pursuit](https://pursuit.purescript.org/packages/purescript-httpure/badge)](https://pursuit.purescript.org/packages/purescript-httpure)
A purescript HTTP server framework.