mirror of
https://github.com/sparksp/elm-format-action.git
synced 2024-11-30 22:15:20 +03:00
commit
d9408d1184
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@ -21,9 +21,9 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- run: yarn
|
||||
- id: elm-format-bin
|
||||
run: echo ::set-output name=path::$(yarn bin elm-format)
|
||||
- name: Add elm-format to path
|
||||
run: echo ::add-path::$(yarn bin)
|
||||
- uses: ./
|
||||
with:
|
||||
elm_format: ${{steps.elm-format-bin.outputs.path}}
|
||||
# elm_format: elm-format
|
||||
elm_files: __tests__/elm/${{ matrix.file }}
|
@ -12,10 +12,10 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- run: yarn
|
||||
- id: elm-format-bin
|
||||
run: echo ::set-output name=path::$(yarn bin elm-format)
|
||||
- name: Add elm-format to path
|
||||
run: echo ::add-path::$(yarn bin)
|
||||
- uses: sparksp/elm-format-action
|
||||
with:
|
||||
elm_format: ${{steps.elm-format-bin.outputs.path}}
|
||||
# elm_format: elm-format
|
||||
# elm_files: src/
|
||||
```
|
||||
```
|
Loading…
Reference in New Issue
Block a user