-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (31 loc) · 1.04 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: CI
on: [push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
permissions:
checks: write
steps:
- uses: actions/checkout@v4
- name: Install Elm tools and cache $ELM_HOME
uses: mpizenberg/[email protected]
with:
cache-key: elm-tooling.json
- name: elm-format
uses: sparksp/[email protected]
- name: elm-review
uses: sparksp/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
elm_review: ./review/elm-review.ps1
elm_compiler: ./node_modules/.bin/elm
elm_format: ./node_modules/.bin/elm-format
- name: elm-verify-examples
run: npx --yes [email protected]
- name: elm-test-rs
run: ./node_modules/.bin/elm-test-rs
- uses: dillonkearns/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-elm: ./node_modules/.bin/elm