Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge to upstream #1

Open
wants to merge 701 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
701 commits
Select commit Hold shift + click to select a range
abc898e
Update api-builtin-effects.md
superstructor Aug 24, 2020
92195a9
Use markdown instead of codox for api docs
superstructor Aug 25, 2020
960ed6c
Fix mkdocs build
superstructor Aug 25, 2020
58c4910
Fix ns-to-markdown script path
superstructor Aug 25, 2020
78ca097
Upgrade GitHub Actions actions/{upload,download}-artifact to v2
superstructor Aug 25, 2020
6d054b6
Add syntax highlighting to arglists in api docs
superstructor Aug 25, 2020
ecaeb39
Add newline between arglists in api docs
superstructor Aug 25, 2020
a7513c7
Update api-builtin-effects.md
mike-thompson-day8 Aug 25, 2020
4f2595e
Change :dispatch-later effect to take a map
superstructor Aug 25, 2020
59b6d28
Update releases/2020.md
superstructor Aug 25, 2020
26cacc5
Update api-builtin-effects.md
mike-thompson-day8 Aug 25, 2020
75a7dcf
Update docs/releases/2020.md
superstructor Aug 25, 2020
a72a93f
Upgrade todomvc example binaryage/devtools to 1.0.2
superstructor Aug 25, 2020
170da05
Upgrade todomvc example re-frame/tracing to 0.6.0
superstructor Aug 25, 2020
bc0c6a5
Change example lein aliases to align with shadow-cljs
superstructor Aug 25, 2020
a1814cd
Add GitHub Actions shadow-cljs build-report artifacts
superstructor Aug 25, 2020
57176d2
Upgrade GitHub Actions actions/cache to v2
superstructor Aug 25, 2020
1e75e6c
Change GitHub Actions secrets to use jobs.<job_id>.steps.env
superstructor Aug 25, 2020
aed37ad
Add comment to ns-to-markdown script
superstructor Aug 26, 2020
61aeaf5
Update ns_to_markdown.clj
mike-thompson-day8 Aug 26, 2020
f3513e5
Update core.cljc
mike-thompson-day8 Aug 26, 2020
e3f685d
Add groups and line-based sort to api docs
superstructor Aug 26, 2020
3d49a04
Fix missing api docs groups
superstructor Aug 26, 2020
e9f536b
Update api-builtin-effects.md
mike-thompson-day8 Aug 26, 2020
6996500
Add an extra level of rhs nav to the api docs
superstructor Aug 27, 2020
2796597
Upgrade mkdocs to 5.5.9
superstructor Aug 27, 2020
77ef23d
Revert "Add an extra level of rhs nav to the api docs"
superstructor Aug 27, 2020
491348d
Change mkdocs rhs toc level from 2 to 3
superstructor Aug 27, 2020
275edaa
Change some apidocs group headings
superstructor Aug 27, 2020
77886cd
Update core.cljc
mike-thompson-day8 Aug 27, 2020
765e983
Update api-builtin-effects.md
mike-thompson-day8 Aug 27, 2020
93fa5bb
Update api-builtin-effects.md
mike-thompson-day8 Aug 27, 2020
815d7fe
Update api-builtin-effects.md
mike-thompson-day8 Aug 27, 2020
100543d
Update api-intro.md
mike-thompson-day8 Aug 27, 2020
cc78777
Update api-builtin-effects.md
mike-thompson-day8 Aug 27, 2020
99bd400
Update api-builtin-effects.md
mike-thompson-day8 Aug 27, 2020
e843809
Update api-intro.md
mike-thompson-day8 Aug 27, 2020
489cb47
Update api-builtin-effects.md
mike-thompson-day8 Aug 27, 2020
ece118d
Update api-builtin-effects.md
mike-thompson-day8 Aug 27, 2020
453882c
Add group sort by line for api docs
superstructor Aug 27, 2020
256f66f
Update api-builtin-effects.md
mike-thompson-day8 Aug 27, 2020
c4e6ee0
Update api-builtin-effects.md
mike-thompson-day8 Aug 28, 2020
0ca10b8
Add styling to api docs
superstructor Aug 28, 2020
2d4bacd
Update application-state.md
mike-thompson-day8 Aug 28, 2020
cd49ebd
Revert "Add styling to api docs"
superstructor Aug 28, 2020
ba6d33d
Update 2020.md
mike-thompson-day8 Aug 31, 2020
8cd6e9b
Update 2020.md
mike-thompson-day8 Aug 31, 2020
3470d99
Update 2020.md
mike-thompson-day8 Aug 31, 2020
20a5266
Update 2020.md
mike-thompson-day8 Aug 31, 2020
b8c2ae7
Update 2020.md
mike-thompson-day8 Aug 31, 2020
fe0f383
Update 2020.md
mike-thompson-day8 Aug 31, 2020
d818dd1
Update 2020.md
mike-thompson-day8 Aug 31, 2020
385f96a
Update 2020.md
mike-thompson-day8 Aug 31, 2020
63788bb
Update 2020.md
mike-thompson-day8 Aug 31, 2020
050c11c
Fix typo in release notes.
dannyob Sep 1, 2020
c9ef158
Update 2020.md
mike-thompson-day8 Sep 1, 2020
6fa1259
Update FocusOnElement.md
mike-thompson-day8 Sep 1, 2020
79dbb48
Update on-dynamics.md
mike-thompson-day8 Sep 1, 2020
b756803
Update 2020.md
mike-thompson-day8 Sep 2, 2020
a8f53be
Update 2020.md
mike-thompson-day8 Sep 2, 2020
7024735
Update 2020.md
mike-thompson-day8 Sep 2, 2020
95d20e1
Update 2020.md
mike-thompson-day8 Sep 2, 2020
1777486
Add support for event maps and subscription query maps in addition to…
superstructor Sep 1, 2020
11eb694
Update mkdocs.yml
mike-thompson-day8 Sep 4, 2020
b7067c0
Update FocusOnElement.md
mike-thompson-day8 Sep 5, 2020
54254a2
Update mkdocs.yml
mike-thompson-day8 Sep 6, 2020
c5b9cf8
Create on-stable-dom-handlers.md
mike-thompson-day8 Sep 6, 2020
624a3e3
Delete on-stable-dom-handlers.md
mike-thompson-day8 Sep 6, 2020
f07b400
Add on-stable-dom-handlers
mike-thompson-day8 Sep 6, 2020
905841c
Update on-stable-dom-handlers.md
mike-thompson-day8 Sep 6, 2020
46cc8ec
Update on-stable-dom-handlers.md
mike-thompson-day8 Sep 6, 2020
d063e30
A few typos in on-stable-dom-handlers.md
Gregg8 Sep 6, 2020
89fa56a
Revert "Add support for event maps and subscription query maps in add…
superstructor Sep 7, 2020
9638bbf
Fix typos in test docstrings
superstructor Sep 7, 2020
52fb9c4
Add unpack interceptor
superstructor Sep 7, 2020
030bbb2
Change unpack interceptor
superstructor Sep 8, 2020
92a527f
Update docs/releases/2020.md
superstructor Sep 8, 2020
4144f7b
Fix whitespace errors in src/re_frame/core.cljc
superstructor Sep 8, 2020
fb8ecbe
Update 2020.md
mike-thompson-day8 Sep 8, 2020
9a87365
Add border under h3s in api docs
superstructor Sep 8, 2020
679ac66
Rename unpack interceptor to unwrap
superstructor Sep 8, 2020
8349b76
Fix failing interceptor test
superstructor Sep 8, 2020
5838a72
Update docs/releases/2020.md
superstructor Sep 8, 2020
7e588ef
Fix typos in docstrings
superstructor Sep 8, 2020
586ab3a
Fix typos in docstrings
superstructor Sep 8, 2020
34cc95d
Update docs/clojurescript.md
superstructor Sep 8, 2020
9d8b378
Update docs/on-dynamics.md
superstructor Sep 8, 2020
4d5e985
Update docs/review-todomvc.md
superstructor Sep 8, 2020
f3c3ba9
Update clojurescript.md
mike-thompson-day8 Sep 8, 2020
ecd557d
Update FocusOnElement.md
mike-thompson-day8 Sep 9, 2020
2abe3a3
Try for better syntax colouring in API docs
mike-thompson-day8 Sep 10, 2020
4f1d6ae
Update core.cljc
mike-thompson-day8 Sep 10, 2020
60f56cd
Update core.cljc
mike-thompson-day8 Sep 10, 2020
d93c288
Update mkdocs.css
mike-thompson-day8 Sep 11, 2020
e0bf6c5
Update mkdocs.css
mike-thompson-day8 Sep 11, 2020
443acf1
Update clojurescript.md
mike-thompson-day8 Sep 12, 2020
190cfaf
Fix "level 2" to "layer 2"
jahson Sep 20, 2020
218bc03
Fix typos
mikos Sep 20, 2020
1977eb7
Upgrade lein-shadow to 0.3.0
superstructor Sep 23, 2020
0c5a038
Fix broken link in docs
Sep 25, 2020
c12d308
Upgrade lein-shadow to 0.3.1
superstructor Sep 28, 2020
fd12bd3
remove unused require
mike-thompson-day8 Oct 8, 2020
2a51f43
fix markdown formatting
phronmophobic Oct 17, 2020
33477c4
Actually fixing lists not displaying on re-frame docs website.
phronmophobic Oct 26, 2020
421a3a9
Fixing typo in docs.
phronmophobic Oct 26, 2020
dfd332f
Fixing typo in docs.
phronmophobic Oct 26, 2020
1a25710
Update README.md
mike-thompson-day8 Oct 27, 2020
e713705
Update README.md
mike-thompson-day8 Oct 27, 2020
5fa28a2
Fix reg-global-interceptor code reloading
superstructor Nov 11, 2020
f0bb609
Update docs/releases/2020.md
superstructor Nov 11, 2020
b1fbc3e
Update docs/releases/2020.md
superstructor Nov 11, 2020
850ee73
README: Use https in documentation link
jeremyvdw Nov 15, 2020
e410890
Update Interceptors.md
mike-thompson-day8 Nov 27, 2020
331c994
Update subscriptions.md
mike-thompson-day8 Nov 28, 2020
8ca6b67
Update on-stable-dom-handlers.md
mike-thompson-day8 Nov 28, 2020
62fc98a
Update on-stable-dom-handlers.md
mike-thompson-day8 Nov 28, 2020
1c52fb9
Update subscriptions.md
mike-thompson-day8 Nov 28, 2020
4c9bcc3
Update clojurescript.md
mike-thompson-day8 Nov 29, 2020
2b9e687
Update subscriptions.md
mike-thompson-day8 Nov 29, 2020
6b23335
docs: fix improperly indented code block
msladecek Dec 6, 2020
cc9f07c
remove duplicate css option: boarder
MokkeMeguru Nov 20, 2020
e4a4878
Update todos.css
MokkeMeguru Nov 20, 2020
1e0a08e
Fix docs: DoINeedReFrame.md: it's to its
abigsmall Dec 8, 2020
c84495c
Fix typo in doc string: it's to its
abigsmall Dec 8, 2020
1d2e566
fix core.cljc reg-event-ctx description
Panthevm Dec 10, 2020
7ea1124
Fix small semantic issue in docs
tytrdev Jan 6, 2021
0b6466a
Bring :timer snippet in sync with simple/core.cljs
rogererens Jan 10, 2021
c595d60
Remove doubled "they" from FAQ page
miles-d Jan 23, 2021
5238bf9
Fix a warning in todomvc
miles-d Jan 24, 2021
2965ffe
Fix small typo in subscriptions docs page
DReigada Jan 31, 2021
d10a98e
Upgrade reagent to 1.0.0
mthl Feb 5, 2021
87f31b0
Upgrade shadow-cljs to 2.11.18
superstructor Feb 24, 2021
3001cae
Upgrade Clojure to 1.10.2
superstructor Feb 24, 2021
19c56c0
Upgrade clojure.tools.logging to 1.1.0
superstructor Feb 24, 2021
af065b7
Upgrade example dependencies
superstructor Feb 24, 2021
7e58848
Add docs/releases/2021.md
superstructor Feb 24, 2021
e6e484d
Update clojurescript.md
mike-thompson-day8 Feb 24, 2021
747129e
Update clojurescript.md
mike-thompson-day8 Feb 24, 2021
70ed05a
Update clojurescript.md
mike-thompson-day8 Feb 24, 2021
a85f6ae
Update clojurescript.md
mike-thompson-day8 Mar 1, 2021
5e636df
Update on-dynamics.md
mike-thompson-day8 Mar 2, 2021
ebb4e4d
Update on-dynamics.md
mike-thompson-day8 Mar 2, 2021
e95246d
Add FUNDING.yml
superstructor Mar 3, 2021
86dbc3a
Update on-dynamics.md
mike-thompson-day8 Mar 3, 2021
c1f3060
Update reusable-components.md
mike-thompson-day8 Mar 3, 2021
60b6c17
Update on-dynamics.md
mike-thompson-day8 Mar 4, 2021
9bde1dd
Update on-dynamics.md
mike-thompson-day8 Mar 4, 2021
06adf9f
Update on-dynamics.md
mike-thompson-day8 Mar 4, 2021
3481c9f
Update on-dynamics.md
mike-thompson-day8 Mar 4, 2021
3d28149
Update on-dynamics.md
mike-thompson-day8 Mar 4, 2021
79f1b8f
Update on-dynamics.md
mike-thompson-day8 Mar 4, 2021
a16e925
Update on-dynamics.md
mike-thompson-day8 Mar 4, 2021
9ad4954
Update on-dynamics.md
mike-thompson-day8 Mar 4, 2021
8bbde33
Update on-dynamics.md
mike-thompson-day8 Mar 4, 2021
2098e76
Update on-dynamics.md
mike-thompson-day8 Mar 4, 2021
6a5c0d5
Update ns_to_markdown.clj
mike-thompson-day8 Mar 5, 2021
0221871
Update ns_to_markdown.clj
mike-thompson-day8 Mar 5, 2021
31c7921
Update mkdocs.css
mike-thompson-day8 Mar 5, 2021
4aa9d3c
Update mkdocs.yml
mike-thompson-day8 Mar 5, 2021
735708f
Update ns_to_markdown.clj
mike-thompson-day8 Mar 6, 2021
1d77e4a
Update mkdocs.yml
mike-thompson-day8 Mar 6, 2021
dfab2e6
Update mkdocs.yml
mike-thompson-day8 Mar 6, 2021
b5f8f22
Update mkdocs.css
mike-thompson-day8 Mar 6, 2021
06a54ae
Update ns_to_markdown.clj
mike-thompson-day8 Mar 6, 2021
72f1e8b
Update mkdocs.css
mike-thompson-day8 Mar 6, 2021
567d70a
Update mkdocs.css
mike-thompson-day8 Mar 6, 2021
50c3594
Update mkdocs.yml
mike-thompson-day8 Mar 6, 2021
b385786
Update ns_to_markdown.clj
mike-thompson-day8 Mar 6, 2021
55ca435
Update 2020.md
mike-thompson-day8 Mar 6, 2021
c87e159
Update 2021.md
mike-thompson-day8 Mar 6, 2021
a3e909a
Update 2021.md
mike-thompson-day8 Mar 6, 2021
3e6f4bf
Update ns_to_markdown.clj
mike-thompson-day8 Mar 6, 2021
bd096fb
Update re-frame.md
mike-thompson-day8 Mar 6, 2021
c9985a3
Update mkdocs.yml
mike-thompson-day8 Mar 6, 2021
ed7e2de
Update re-frame.md
mike-thompson-day8 Mar 6, 2021
f147c64
Update re-frame.md
mike-thompson-day8 Mar 6, 2021
b3e0d62
Update a-loop.md
mike-thompson-day8 Mar 6, 2021
44e36af
Update re-frame.md
mike-thompson-day8 Mar 7, 2021
87a5e2a
Update mkdocs.yml
mike-thompson-day8 Mar 7, 2021
528b7f6
Update mkdocs.css
mike-thompson-day8 Mar 7, 2021
21573a3
Update mkdocs.css
mike-thompson-day8 Mar 7, 2021
a49cc90
Update mkdocs.css
mike-thompson-day8 Mar 7, 2021
177380e
Update mkdocs.css
mike-thompson-day8 Mar 7, 2021
95473a5
Update mkdocs.css
mike-thompson-day8 Mar 7, 2021
1338ed2
Upgrade GitHub Actions Docker image
superstructor Mar 9, 2021
17b0621
Fix GitHub Actions cache invalidation
superstructor Mar 9, 2021
83da12d
Upgrade Clojure to 1.10.3
superstructor Mar 10, 2021
65347aa
Fix deps.edn to be aligned with project.clj
superstructor Mar 10, 2021
14d3b3f
Update home.html
mike-thompson-day8 Mar 10, 2021
3893eef
Update a-loop.md
mike-thompson-day8 Mar 10, 2021
63b7a7f
Update license.txt
superstructor Mar 12, 2021
b472a5f
Fix a few typos in docs
pdsouza Mar 14, 2021
52d91c2
Update README.md
mike-thompson-day8 Mar 16, 2021
0433ce8
Update README.md
mike-thompson-day8 Mar 16, 2021
986e253
Update README.md
mike-thompson-day8 Mar 16, 2021
ab668d5
Update README.md
mike-thompson-day8 Mar 16, 2021
eaf549b
Update README.md
mike-thompson-day8 Mar 16, 2021
e0a2b04
minor: fix typo in docs
oakmac Mar 18, 2021
9b3d0b4
Update subscriptions.md
mike-thompson-day8 Mar 19, 2021
42e2ebc
Update subscriptions.md
mike-thompson-day8 Mar 20, 2021
0b1b9a8
Update README.md
superstructor Mar 21, 2021
58cb0c1
Update a-loop.md
mike-thompson-day8 Apr 2, 2021
8ad43ac
Upgrade binaryage/devtools to 1.0.3
superstructor Apr 6, 2021
865f2ac
Upgrade karma to 6.3.0
superstructor Apr 6, 2021
e307105
Upgrade shadow-cljs to 2.12.1 and ClojureScript to 1.10.844
superstructor Apr 6, 2021
31967d6
Update deps.edn
superstructor Apr 6, 2021
6354be1
Change simple example from lein to vanilla shadow-cljs
superstructor Apr 6, 2021
c18b745
Fix GitHub Actions workflows
superstructor Apr 6, 2021
aecf1ef
Change todomvc example from lein to vanilla shadow-cljs
superstructor Apr 6, 2021
91675fd
Fix GitHub Actions workflows
superstructor Apr 6, 2021
caf14ad
Update router.cljc
green-coder Apr 7, 2021
c5f6dfb
Update README.md
mike-thompson-day8 Apr 7, 2021
ecb756e
Wrong param name in protocol (again)
green-coder Apr 7, 2021
edcb1d3
typo in docs
Apr 9, 2021
53ba524
Typo fix: arguement -> argument
green-coder Apr 18, 2021
06c5757
According to the documentation of rf/reg-cofx, this is how it should …
green-coder Apr 18, 2021
c0a625d
Update Coeffects.md
superstructor Apr 18, 2021
823fada
update docs to use :fx over :dispatch
Apr 9, 2021
3d32f0f
[Minor] typo fix in docs/subscriptions.md
galbacarys Apr 26, 2021
5f24932
Fixes some typos.
green-coder Apr 27, 2021
aade5a9
Fix 'An error occurred when loading todomvc.core.js'
gorjusborg May 1, 2021
6454013
typo
May 4, 2021
44e5f87
typo
May 5, 2021
c1b4bf7
typo
May 9, 2021
1a03c4e
update `dispatch` to `fx`
May 9, 2021
d406f66
Add re-frame-flow to 'Tools, Techniques & Libraries'
ertugrulcetin May 9, 2021
eb3f8a6
Update External-Resources.md
superstructor May 9, 2021
2a89fd4
update dispatch to fx
May 10, 2021
bbb8d94
improve :dispatch-later doc
frenchy64 May 19, 2021
167f41e
Simplified calls to `apply`.
green-coder May 21, 2021
f4afeec
Update CONTRIBUTING.md
superstructor May 23, 2021
a409dd1
Upgrade shadow-cljs to 2.14.0 and ClojureScript to 1.10.866
superstructor May 23, 2021
008155d
(last pair) -> (second pair)
green-coder May 21, 2021
3b3c65e
Fix indentation
superstructor May 24, 2021
67bae29
Fix broken link
suud May 31, 2021
3743f18
Fixed spelling: Shaped
zackteo Jun 7, 2021
f207cae
Grammar: include
zackteo Jun 7, 2021
a860b80
Add issue templates
superstructor Jun 27, 2021
aa3cba0
Update New-Feature.yml
superstructor Jun 27, 2021
a01640c
Update Bug-Report.yml
superstructor Jun 27, 2021
7c4cd62
Update Bug-Report.yml
superstructor Jun 27, 2021
06aacd3
Update Bug-Report.yml
superstructor Jun 28, 2021
30e8a60
Update Bug-Report.yml
superstructor Jun 28, 2021
a84a7d5
Improve format in 2020 Change Docs
mike-thompson-day8 Jul 10, 2021
8123823
Upgrade simple example dependencies
superstructor Jul 14, 2021
47661e4
Upgrade todomvc example dependencies
superstructor Jul 14, 2021
269456d
Replace lein-ancient with antq
superstructor Jul 15, 2021
5178860
Create best-practice.md
mike-thompson-day8 Aug 5, 2021
7729772
Update best-practice.md
mike-thompson-day8 Aug 10, 2021
fdc2d9d
Merge remote-tracking branch 'upstream/master'
Aug 26, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 0 additions & 46 deletions .circleci/config.yml

This file was deleted.

1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: mike-thompson-day8
48 changes: 48 additions & 0 deletions .github/ISSUE_TEMPLATE/Bug-Report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Bug Report
description: File a bug report
title: "[Bug]: "
labels: [bug, triage]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: textarea
id: what-happened
attributes:
label: What happened?
description: Also tell us, what did you expect to happen?
placeholder: Tell us what you see!
value: "A bug happened!"
validations:
required: true
- type: input
id: version
attributes:
label: Version
description: What version of re-frame are you using?
validations:
required: true
- type: dropdown
id: browsers
attributes:
label: What runtimes are you seeing the problem on?
multiple: true
options:
- Mozilla Firefox
- Google Chrome
- Microsoft Edge
- Apple Safari
- Opera
- Brave
- React Native
- Node.js
- JVM (CLJC)
validations:
required: true
- type: textarea
id: logs
attributes:
label: Relevant console output
description: Please copy and paste any relevant console output. This will be automatically formatted into code, so no need for backticks.
render: shell
18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE/New-Feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Enhancement
description: Suggest a new feature or improvement
title: "[Enhancement]: "
labels: [enhancement, triage]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to suggest a new feature or improvement. A PR would be even better!
- type: textarea
id: suggestion
attributes:
label: What do you suggest?
description: Also tell us, what is your use case for re-frame and how will it improve that use case?
placeholder: Tell us your vision!
value: "Make it better!"
validations:
required: true
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: re-frame Community Support
url: https://github.com/day8/re-frame/discussions
about: Please ask and answer questions here.
- name: "#re-frame Clojurians Slack Chat"
url: https://clojurians.slack.com
about: Loses history, but is very active.
158 changes: 158 additions & 0 deletions .github/workflows/continuous-deployment-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
name: cd
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+*"

jobs:
test:
name: Test
runs-on: ubuntu-18.04
container:
# Source: https://github.com/day8/dockerfile-for-dev-ci-image
image: docker.pkg.github.com/day8/dockerfile-for-dev-ci-image/dev-ci:0.1
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- name: Maven cache
id: maven-cache
uses: actions/cache@v2
with:
path: /root/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/project.clj', '.github/workflows/**') }}
restore-keys: |
${{ runner.os }}-maven-
- name: npm cache
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('project.clj') }}-${{ hashFiles('**/deps.cljs') }}
restore-keys: |
${{ runner.os }}-npm-
- name: shadow-cljs compiler cache
uses: actions/cache@v2
with:
path: .shadow-cljs
key: ${{ runner.os }}-shadow-cljs-${{ github.sha }}
restore-keys: |
${{ runner.os }}-shadow-cljs-
- if: steps.maven-cache.outputs.cache-hit != 'true'
run: lein ci
- if: steps.maven-cache.outputs.cache-hit != 'true'
name: Run cd examples/simple && lein shadow-release && lein build-report
working-directory: examples/simple
run: |
npm install
npm run release
npm run build-report
- if: steps.maven-cache.outputs.cache-hit != 'true'
name: Run cd examples/todomvc && lein shadow-release && lein build-report
working-directory: examples/todomvc
run: |
npm install
npm run release
npm run build-report
- if: steps.maven-cache.outputs.cache-hit == 'true'
run: lein -o ci
- if: steps.maven-cache.outputs.cache-hit == 'true'
name: Run cd examples/simple && lein -o shadow-release && lein -o build-report
working-directory: examples/simple
run: |
npm install
npm run release
npm run build-report
- if: steps.maven-cache.outputs.cache-hit == 'true'
name: Run cd examples/todomvc && lein -o shadow-release && lein -o build-report
working-directory: examples/todomvc
run: |
npm install
npm run release
npm run build-report
- uses: actions/upload-artifact@v2
with:
name: simple-example-build-report
path: examples/simple/target/build-report.html
- uses: actions/upload-artifact@v2
with:
name: todomvc-example-build-report
path: examples/todomvc/target/build-report.html
- name: Slack notification
uses: homoluctus/slatify@v2.0.1
if: failure() || cancelled()
with:
type: ${{ job.status }}
job_name: re-frame Tests
channel: '#oss-robots'
url: ${{ secrets.SLACK_WEBHOOK }}
commit: true
token: ${{ secrets.GITHUB_TOKEN }}
release:
name: Release
needs: test
runs-on: ubuntu-18.04
container:
# Source: https://github.com/day8/dockerfile-for-dev-ci-image
image: docker.pkg.github.com/day8/dockerfile-for-dev-ci-image/dev-ci:0.1
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Maven cache
id: maven-cache
uses: actions/cache@v2
with:
path: /root/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/project.clj', '.github/workflows/**') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Run lein release
if: steps.maven-cache.outputs.cache-hit != 'true'
env:
CLOJARS_USERNAME: ${{ secrets.CLOJARS_USERNAME }}
CLOJARS_TOKEN: ${{ secrets.CLOJARS_TOKEN }}
GITHUB_USERNAME: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
lein release
- name: Run lein -o release
if: steps.maven-cache.outputs.cache-hit == 'true'
env:
CLOJARS_USERNAME: ${{ secrets.CLOJARS_USERNAME }}
CLOJARS_TOKEN: ${{ secrets.CLOJARS_TOKEN }}
GITHUB_USERNAME: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
lein -o release
# This creates a 'GitHub Release' from the tag and includes link to the releases page
# on the re-frame website. We do not use draft or prerelease features as we always want
# the latest release to show in the right hand column of the project page regardless
# of if it is a stable release.
#
# IMPORTANT: The release year is hard-coded and must be updated in this file once per year for the moment.
# Unfortunately I could not find a way to inject the year using the GitHub Actions ${{ expr }} syntax.
- name: Create GitHub Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
body: |
[Changelog](http://day8.github.io/re-frame/releases/2020/)
draft: false
prerelease: false
- name: Slack notification
uses: homoluctus/slatify@v2.0.1
if: always()
with:
type: ${{ job.status }}
job_name: re-frame Deployment
channel: '#oss-robots'
url: ${{ secrets.SLACK_WEBHOOK }}
commit: true
token: ${{ secrets.GITHUB_TOKEN }}
101 changes: 101 additions & 0 deletions .github/workflows/continuous-integration-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
name: ci
on:
push:
paths-ignore:
- "bin/**"
- "docs/**"
- "images/**"
- ".editorconfig"
- ".gitignore"
- "CHANGELOG.md"
- "CITATION.md"
- "CONTRIBUTING.md"
- "license.txt"
- "README.md"

jobs:
test:
name: Test
runs-on: ubuntu-18.04
container:
# Source: https://github.com/day8/dockerfile-for-dev-ci-image
image: docker.pkg.github.com/day8/dockerfile-for-dev-ci-image/dev-ci:0.1
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- name: Maven cache
id: maven-cache
uses: actions/cache@v2
with:
path: /root/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/project.clj', '.github/workflows/**') }}
restore-keys: |
${{ runner.os }}-maven-
- name: npm cache
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('project.clj') }}-${{ hashFiles('**/deps.cljs') }}
restore-keys: |
${{ runner.os }}-npm-
- name: shadow-cljs compiler cache
uses: actions/cache@v2
with:
path: .shadow-cljs
key: ${{ runner.os }}-shadow-cljs-${{ github.sha }}
restore-keys: |
${{ runner.os }}-shadow-cljs-
- if: steps.maven-cache.outputs.cache-hit != 'true'
run: lein ci
- if: steps.maven-cache.outputs.cache-hit != 'true'
name: Run cd examples/simple && lein shadow-release && lein build-report
working-directory: examples/simple
run: |
npm install
npm run release
npm run build-report
- if: steps.maven-cache.outputs.cache-hit != 'true'
name: Run cd examples/todomvc && lein shadow-release && lein build-report
working-directory: examples/todomvc
run: |
npm install
npm run release
npm run build-report
- if: steps.maven-cache.outputs.cache-hit == 'true'
run: lein -o ci
- if: steps.maven-cache.outputs.cache-hit == 'true'
name: Run cd examples/simple && lein -o shadow-release && lein -o build-report
working-directory: examples/simple
run: |
npm install
npm run release
npm run build-report
- if: steps.maven-cache.outputs.cache-hit == 'true'
name: Run cd examples/todomvc && lein -o shadow-release && lein -o build-report
working-directory: examples/todomvc
run: |
npm install
npm run release
npm run build-report
- uses: actions/upload-artifact@v2
with:
name: simple-example-build-report
path: examples/simple/target/build-report.html
- uses: actions/upload-artifact@v2
with:
name: todomvc-example-build-report
path: examples/todomvc/target/build-report.html
- name: Verify cljdoc Configuration
run: curl -fsSL https://raw.githubusercontent.com/cljdoc/cljdoc/master/script/verify-cljdoc-edn | bash -s doc/cljdoc.edn
- name: Slack notification
uses: homoluctus/slatify@v2.0.1
if: failure() || cancelled()
with:
type: ${{ job.status }}
job_name: re-frame Tests
channel: '#oss-robots'
url: ${{ secrets.SLACK_WEBHOOK }}
commit: true
token: ${{ secrets.GITHUB_TOKEN }}
Loading