Skip to content

Commit

Permalink
Merge pull request #29 from safx/github-ci
Browse files Browse the repository at this point in the history
Add GitHub CI
  • Loading branch information
safx authored Aug 27, 2023
2 parents 4eb2d1a + 1482ae1 commit 0b00141
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 22 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -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
22 changes: 0 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down Expand Up @@ -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.

0 comments on commit 0b00141

Please sign in to comment.