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