purescript-httpurple/.github/workflows/check.yaml
Connor Prussin 43f89f139b
Clean up github workflows (#172)
* Clean up workflows

* Remove build status badge
2021-03-22 12:20:17 -07:00

43 lines
818 B
YAML

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'