gave steps more descriptive names
This commit is contained in:
parent
c2d73b65b3
commit
9a0d55b326
1 changed files with 11 additions and 11 deletions
22
.github/workflows/integrate.yaml
vendored
22
.github/workflows/integrate.yaml
vendored
|
|
@ -21,42 +21,42 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- uses: actions/cache@v2.1.4
|
- uses: actions/cache@v2.1.4
|
||||||
name: Cache Stack
|
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: Setup
|
name: Install fourmolu.
|
||||||
|
|
||||||
- run: ./.github/format.sh
|
- run: ./.github/format.sh
|
||||||
name: "Run fourmolu"
|
name: Run fourmolu.
|
||||||
|
|
||||||
lint:
|
run-linter:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- uses: actions/cache@v2.1.4
|
- uses: actions/cache@v2.1.4
|
||||||
name: Cache Stack
|
name: Add Stack files to Cache.
|
||||||
with:
|
with:
|
||||||
path: ~/.stack
|
path: ~/.stack
|
||||||
key: ${{ runner.os }}-stack-lint
|
key: ${{ runner.os }}-stack-lint
|
||||||
restore-keys: ${{ runner.os }}-stack-
|
restore-keys: ${{ runner.os }}-stack-
|
||||||
|
|
||||||
- run: stack install hlint
|
- run: stack install hlint
|
||||||
name: Setup
|
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: Lint
|
name: Run hlint.
|
||||||
|
|
||||||
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 cache
|
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: Cache cabal folder
|
- 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 full ci derivation
|
- 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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue