Skip to content

Commit

Permalink
CI を追加
Browse files Browse the repository at this point in the history
  • Loading branch information
SlashNephy committed Feb 6, 2021
1 parent 7349a8f commit d0baa80
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 9 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Check

on:
push:
paths-ignore:
- .gitignore
- LICENSE
- '**.md'
branches-ignore:
- 'releases/**'

pull_request:
types:
- opened
- synchronize
paths-ignore:
- '*.md'

workflow_dispatch:

jobs:
check:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Using Caches
uses: actions/cache@v2.1.3
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Setup JDK
uses: actions/setup-java@v1.4.3
with:
java-version: 1.8

- name: Grant Execute Permission to gradlew
run: chmod +x gradlew

- name: Build with Gradle
run: ./gradlew build
17 changes: 8 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Json.kt: Json bindings for Kotlin Multiplatform
[![Kotlin](https://img.shields.io/badge/Kotlin-1.4.20-blue.svg)](https://kotlinlang.org)
[![stable](https://img.shields.io/bintray/v/starry-blue-sky/stable/JsonKt.svg?label=stable)](https://bintray.com/starry-blue-sky/stable/JsonKt/_latestVersion)
[![dev](https://img.shields.io/bintray/v/starry-blue-sky/dev/JsonKt.svg?label=dev)](https://bintray.com/starry-blue-sky/dev/JsonKt/_latestVersion)
[![license](https://img.shields.io/github/license/StarryBlueSky/Json.kt.svg)](https://github.com/StarryBlueSky/Json.kt/blob/master/LICENSE)
[![issues](https://img.shields.io/github/issues/StarryBlueSky/Json.kt.svg)](https://github.com/StarryBlueSky/Json.kt/issues)
[![pull requests](https://img.shields.io/github/issues-pr/StarryBlueSky/Json.kt.svg)](https://github.com/StarryBlueSky/Json.kt/pulls)
[![Kotlin](https://img.shields.io/badge/Kotlin-1.4.30-blue.svg)](https://kotlinlang.org)
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/StarryBlueSky/Json.kt)](https://github.com/StarryBlueSky/Json.kt/releases)
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/StarryBlueSky/Json.kt/Check)](https://github.com/StarryBlueSky/Json.kt)
[![license](https://img.shields.io/github/license/StarryBlueSky/Json.kt)](https://github.com/StarryBlueSky/Json.kt/blob/master/LICENSE)
[![issues](https://img.shields.io/github/issues/StarryBlueSky/Json.kt)](https://github.com/StarryBlueSky/Json.kt/issues)
[![pull requests](https://img.shields.io/github/issues-pr/StarryBlueSky/Json.kt)](https://github.com/StarryBlueSky/Json.kt/pulls)

委譲プロパティを使い, 直感的に Json を Kotlin のクラスに変換できます。
Using delegation properties, you can convert Json to Kotlin classes intuitively.
Expand Down Expand Up @@ -66,11 +66,10 @@ fun main() {
Get Started
-----------

Latest Json.kt version is [![Stable](https://img.shields.io/bintray/v/starry-blue-sky/stable/JsonKt.svg?label=stable)](https://bintray.com/starry-blue-sky/dev/JsonKt/_latestVersion) or [![Dev](https://img.shields.io/bintray/v/starry-blue-sky/dev/JsonKt.svg?label=dev)](https://dl.bintray.com/starry-blue-sky/dev/JsonKt/_latestVersion).
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/StarryBlueSky/Json.kt)](https://github.com/StarryBlueSky/Json.kt/releases)

Stable releases are available at [Bintray](hhttps://dl.bintray.com/starry-blue-sky/stable/JsonKt). EAP builds are also available ([Dev Repository](https://dl.bintray.com/starry-blue-sky/dev/JsonKt)). Every commit is published as EAP build.
`build.gradle.kts`

build.gradle.kts:
```kotlin
repositories {
mavenCentral()
Expand Down

0 comments on commit d0baa80

Please sign in to comment.