Skip to content

Commit c5559ea

Browse files
committed
Merge branch 'master' into LRS-30_2_0_compat
2 parents 92876f9 + f045cdb commit c5559ea

File tree

15 files changed

+168
-528
lines changed

15 files changed

+168
-528
lines changed

.github/workflows/deploy.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: CD
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*.*.*' # Enforce Semantic Versioning
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v4
15+
16+
- name: Setup CD Environment
17+
uses: yetanalytics/action-setup-env@v2
18+
19+
- name: Extract version
20+
id: version
21+
run: echo version=${GITHUB_REF#refs\/tags\/v} >> $GITHUB_OUTPUT
22+
23+
- name: Build and deploy to Clojars
24+
uses: yetanalytics/action-deploy-clojars@v2
25+
with:
26+
artifact-id: 'xapi-schema'
27+
src-dirs: '["src"]'
28+
resource-dirs: '[]'
29+
version: ${{ steps.version.outputs.version }}
30+
clojars-username: ${{ secrets.CLOJARS_USERNAME }}
31+
clojars-deploy-token: ${{ secrets.CLOJARS_PASSWORD }}

.github/workflows/main.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: CI
4+
5+
# Controls when the workflow will run
6+
on: [push, pull_request, workflow_dispatch]
7+
8+
jobs:
9+
test:
10+
# The type of runner that the job will run on
11+
runs-on: ubuntu-latest
12+
13+
# Steps represent a sequence of tasks that will be executed as part of the job
14+
steps:
15+
- name: Checkout repository
16+
uses: actions/checkout@v4
17+
18+
- name: Setup CI environment
19+
uses: yetanalytics/action-setup-env@v2
20+
21+
- name: Execute Clojure Tests
22+
run: clojure -A:dev -m xapi-schema.runner
23+
24+
- name: Build ClojureScript Tests
25+
run: clojure -A:dev -m cljs.main -co build.test.edn -c
26+
27+
- name: Run ClojureScript Tests
28+
run: node out/main.js

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@
1616
/resources/public/xapi_schema.js
1717
.specljs-timestamp
1818
/.cpcache
19+
/.calva
20+
/.clj-kondo
21+
/.lsp

.travis.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

README.org

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,10 @@
22
#+AUTHOR: Milt Reder
33
#+EMAIL: milt@yetanalytics.com
44

5-
[[https://travis-ci.org/yetanalytics/xapi-schema][https://travis-ci.org/yetanalytics/xapi-schema.svg?branch=master]]
6-
[[https://jarkeeper.com/yetanalytics/xapi-schema][https://jarkeeper.com/yetanalytics/xapi-schema/status.png]]
5+
[[https://github.com/yetanalytics/xapi-schema/actions/workflows/main.yml][https://github.com/yetanalytics/xapi-schema/actions/workflows/main.yml/badge.svg]]
76
[[https://www.eclipse.org/legal/epl-v10.html][https://img.shields.io/badge/license-Eclipse-blue.svg]]
87
[[https://clojars.org/com.yetanalytics/xapi-schema][https://img.shields.io/clojars/v/com.yetanalytics/xapi-schema.svg]]
98

10-
[[https://gitter.im/yetanalytics/xapi-schema?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge][https://badges.gitter.im/Join%20Chat.svg]]
11-
129
Clojure(script) schema for Experience API 1.0.3. Provides validation of Statements and other xAPI objects.
1310

1411
** Demo
@@ -18,7 +15,7 @@ You can use xapi-schema to validate (and generate) statements in real-time [[htt
1815
** Getting Started
1916
1. Add to your project dependencies:
2017
#+BEGIN_SRC clojure
21-
[[com.yetanalytics/xapi-schema "1.0.0-alpha19"]]
18+
[[com.yetanalytics/xapi-schema "1.3.0"]]
2219
#+END_SRC
2320
2. Require in your project:
2421
#+BEGIN_SRC clojure
@@ -150,7 +147,7 @@ xapi_schema.core.validate_statement_data_js(statement_json); // => statement JSO
150147

151148
** License
152149

153-
Copyright © 2018 Yet Analytics, Inc.
150+
Copyright © 2015-2024 Yet Analytics, Inc.
154151

155152
Distributed under the Eclipse Public License, the same as Clojure.
156153
See the file [[file:LICENSE][LICENSE]] for details.

0 commit comments

Comments
 (0)