Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Commit

Permalink
CI: fix relative paths
Browse files Browse the repository at this point in the history
Now in `hlint-run` testing `hlint-setup` code.

I think for released code `haskell/actions` need to have separate scheduled check.
  • Loading branch information
Anton-Latukha committed Nov 12, 2021
1 parent 1a1b0b6 commit eab35fb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/hlint-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

defaults:
run:
working-directory: "./hlint-run"
working-directory: "hlint-run"

jobs:
unit-tests:
Expand All @@ -26,12 +26,10 @@ jobs:
- uses: actions/checkout@v2

- name: Set up HLint
# 2021-11-12: NOTE: Currently uses old pulished location, until `haslell/actions/hlint-setup` works properly
uses: rwe/actions-hlint-setup@v1
uses: ./hlint-setup

- run: hlint --version

# 2021-11-12: NOTE: Is this would be relative to the default workdir?
- uses: ./
- uses: ./hlint-run
with:
path: test/Example.hs
6 changes: 3 additions & 3 deletions .github/workflows/hlint-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

defaults:
run:
working-directory: "./hlint-setup"
working-directory: "hlint-setup"

jobs:
unit-tests:
Expand All @@ -23,8 +23,8 @@ jobs:
steps:
- uses: actions/checkout@v2
- run: yarn
working-directory: "hlint-setup"
- run: yarn compile
- run: yarn package
# 2021-11-12: NOTE: Is this would be relative to the default workdir?
- uses: ./
- uses: ./hlint-setup
- run: hlint --version

0 comments on commit eab35fb

Please sign in to comment.