From 1482ae1be93a859edc737b13b45d4eb0b15ef1c1 Mon Sep 17 00:00:00 2001 From: Yuji MATSUMOTO Date: Sun, 27 Aug 2023 23:50:18 +0900 Subject: [PATCH] add ci.yml --- .github/workflows/ci.yml | 15 +++++++++++++++ README.md | 22 ---------------------- 2 files changed, 15 insertions(+), 22 deletions(-) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..2bae0f0 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,15 @@ +name: Swift + +on: [push] + +jobs: + build: + + runs-on: macos-latest + + steps: + - uses: actions/checkout@v3 + - name: Build + run: swift build + - name: Run tests + run: swift test diff --git a/README.md b/README.md index 74203b1..486abfa 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ # Emoji-Swift -[![TravisCI](http://img.shields.io/travis/safx/Emoji-Swift.svg?style=flat)](https://travis-ci.org/safx/Emoji-Swift) [![codecov.io](http://codecov.io/github/safx/emoji-swift/coverage.svg?branch=master)](http://codecov.io/github/safx/emoji-swift?branch=master) ![Platform](https://img.shields.io/cocoapods/p/Emoji-swift.svg?style=flat) ![License](https://img.shields.io/cocoapods/l/Emoji-swift.svg?style=flat) @@ -37,24 +36,3 @@ extension String { ```ruby pod 'Emoji-swift' ``` - -### Swift Package Manager - -Create a Package.swift file: - -```swift -import PackageDescription - -let package = Package( - name: "Emoji", - dependencies: [ - .Package(url: "https://github.com/safx/Emoji-Swift.git", majorVersion: 0) - ] -) -``` - -And then, type `swift build`. - -### Manual Install - -Just copy `Emoji.swift` and `String+Emoji.swift` into your project.