Support signing keys #1224
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Coding Standards | |
on: | |
pull_request: | |
branches: [ "master" ] | |
push: | |
branches: [ "master" ] | |
tags: [ "*.*.*" ] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: 📥 Checkout repository | |
uses: actions/checkout@v1 | |
- name: ✍ Check hlint and stylish | |
env: | |
VERSION: v0.11.0.0 | |
run: | | |
curl -sSL https://raw.github.com/ndmitchell/hlint/master/misc/run.sh | sh -s . | |
curl -sSL https://raw.github.com/input-output-hk/adrestia/master/templates/haskell/stylish-haskell.sh | sh -s $(git ls-files '*.hs' | grep -v 'jsapi/.*/Main.hs') -i | |
if [ -z "$(git status --porcelain)" ]; then | |
echo "No style errors detected." | |
else | |
echo "Style errors detected:" | |
git diff | |
exit 1 | |
fi |