Clean up github workflows (#172)
* Clean up workflows * Remove build status badge
This commit is contained in:
parent
1ad5a08306
commit
43f89f139b
42
.github/workflows/check.yaml
vendored
Normal file
42
.github/workflows/check.yaml
vendored
Normal 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'
|
24
.github/workflows/test.yaml
vendored
24
.github/workflows/test.yaml
vendored
@ -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'
|
24
.github/workflows/validate-formatting.yaml
vendored
24
.github/workflows/validate-formatting.yaml
vendored
@ -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'
|
@ -2,7 +2,6 @@
|
||||
|
||||
[](https://raw.githubusercontent.com/cprussin/purescript-httpure/master/License)
|
||||
[](https://github.com/cprussin/purescript-httpure/releases)
|
||||
[](https://github.com/cprussin/purescript-httpure/actions/workflows/test.yaml)
|
||||
[](https://pursuit.purescript.org/packages/purescript-httpure)
|
||||
|
||||
A purescript HTTP server framework.
|
||||
|
Loading…
Reference in New Issue
Block a user