You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+36Lines changed: 36 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,42 @@ steps:
49
49
- run: spago build
50
50
```
51
51
52
+
## Full Example Workflow
53
+
54
+
This workflow is a useful starting point for new projects and libraries. You can add a `.yml` file with the contents below to the `.github/workflows` directory in your project (for example: `.github/workflows/ci.yml`).
55
+
56
+
```yml
57
+
name: CI
58
+
59
+
on: push
60
+
61
+
jobs:
62
+
build:
63
+
runs-on: ubuntu-latest
64
+
steps:
65
+
- uses: actions/checkout@v2
66
+
67
+
- uses: thomashoneyman/setup-purescript@main
68
+
69
+
- name: Cache PureScript dependencies
70
+
uses: actions/cache@v2
71
+
# This cache uses the .dhall files to know when it should reinstall
72
+
# and rebuild packages. It caches both the installed packages from
73
+
# the `.spago` directory and compilation artifacts from the `output`
74
+
# directory. When restored the compiler will rebuild any files that
75
+
# have changed. If you do not want to cache compiled output, remove
0 commit comments