removed flake check
This commit is contained in:
parent
19249b70c0
commit
4446802670
1 changed files with 38 additions and 30 deletions
68
.github/workflows/integrate.yaml
vendored
68
.github/workflows/integrate.yaml
vendored
|
|
@ -15,42 +15,42 @@ on:
|
||||||
- "flake.lock"
|
- "flake.lock"
|
||||||
- "agora.cabal"
|
- "agora.cabal"
|
||||||
jobs:
|
jobs:
|
||||||
check-formatting:
|
# check-formatting:
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
steps:
|
# steps:
|
||||||
- uses: actions/checkout@v2.4.0
|
# - uses: actions/checkout@v2.4.0
|
||||||
|
|
||||||
# - 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
|
||||||
steps:
|
# steps:
|
||||||
- uses: actions/checkout@v2.4.0
|
# - uses: actions/checkout@v2.4.0
|
||||||
|
|
||||||
# - 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
|
||||||
# restore-keys: ${{ runner.os }}-stack-
|
# # restore-keys: ${{ runner.os }}-stack-
|
||||||
|
|
||||||
# - run: stack install hlint
|
# # - run: stack install hlint
|
||||||
# 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')
|
||||||
- run: hlint $(git ls-tree -r HEAD --full-tree --name-only | grep -E '.*\.hs')
|
# - run: 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
|
||||||
|
|
@ -79,4 +79,12 @@ jobs:
|
||||||
key: ${{ runner.os }}-cabal
|
key: ${{ runner.os }}-cabal
|
||||||
- name: Build the project
|
- name: Build the project
|
||||||
run: nix build
|
run: nix build
|
||||||
- run: nix flake check
|
|
||||||
|
- name: Enter Nix environment
|
||||||
|
run: nix develop
|
||||||
|
|
||||||
|
- run: ./.github/format.sh
|
||||||
|
name: Run fourmolu
|
||||||
|
|
||||||
|
- run: hlint $(git ls-tree -r HEAD --full-tree --name-only | grep -E '.*\.hs')
|
||||||
|
name: Run hlint
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue