Removed full stops for consistency

This commit is contained in:
Jack Hodgkinson 2022-02-14 12:12:46 +00:00
parent d90d57045f
commit 1b55c3ea00

View file

@ -21,17 +21,17 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/cache@v2.1.4 - uses: actions/cache@v2.1.4
name: Add Stack files to cache. name: Add Stack files to cache
with: with:
path: ~/.stack path: ~/.stack
key: ${{ runner.os }}-stack-formatting key: ${{ runner.os }}-stack-formatting
restore-keys: ${{ runner.os }}-stack- restore-keys: ${{ runner.os }}-stack-
- run: stack install fourmolu - run: stack install fourmolu
name: Install fourmolu. name: Install fourmolu
- run: ./.github/format.sh - run: ./.github/format.sh
name: Run fourmolu. name: Run fourmolu
run-linter: run-linter:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -39,7 +39,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/cache@v2.1.4 - uses: actions/cache@v2.1.4
name: Add Stack files to Cache. name: Add Stack files to cache
with: with:
path: ~/.stack path: ~/.stack
key: ${{ runner.os }}-stack-lint key: ${{ runner.os }}-stack-lint
@ -49,14 +49,14 @@ jobs:
name: Install hlint name: Install hlint
- run: ~/.local/bin/hlint $(git ls-tree -r HEAD --full-tree --name-only | grep -E '.*\.hs') - run: ~/.local/bin/hlint $(git ls-tree -r HEAD --full-tree --name-only | grep -E '.*\.hs')
name: Run hlint. name: Run hlint
check-build: check-build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: cachix/install-nix-action@v13 - uses: cachix/install-nix-action@v13
name: Set up Nix and IOHK caches. name: Set up Nix and IOHK caches
with: with:
nix_path: nixpkgs=channel:nixos-unstable nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: | extra_nix_config: |
@ -66,7 +66,7 @@ jobs:
with: with:
name: mlabs name: mlabs
authToken: ${{ secrets.CACHIX_KEY }} authToken: ${{ secrets.CACHIX_KEY }}
- name: Add cabal folder to cache. - name: Add cabal folder to cache
id: cabal id: cabal
uses: actions/cache@v2.1.4 uses: actions/cache@v2.1.4
with: with:
@ -75,5 +75,5 @@ jobs:
~/.cabal/store ~/.cabal/store
dist-newstyle dist-newstyle
key: ${{ runner.os }}-cabal key: ${{ runner.os }}-cabal
- name: Build the project. - name: Build the project
run: nix build .#check.x86_64-linux --extra-experimental-features nix-command --extra-experimental-features flakes run: nix build .#check.x86_64-linux --extra-experimental-features nix-command --extra-experimental-features flakes