Skip to content

Commit

Permalink
Setup go.mod and update emojidata.go (#15)
Browse files Browse the repository at this point in the history
* Update emojidata
* Setup `go.mod`
* Move from `io/ioutil` to `os`
* Remove garbage emoji data entry
* Update build github action
  • Loading branch information
tmdvs authored Oct 19, 2024
1 parent b09c415 commit 38ed444
Show file tree
Hide file tree
Showing 7 changed files with 4,763 additions and 168 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,18 @@ jobs:
runs-on: ubuntu-latest
steps:

- name: Set up Go 1.12
- name: Set up Go 1.23
uses: actions/setup-go@v1
with:
go-version: 1.12
go-version: 1.23
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v1

- name: Get dependencies
run: |
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
go get -v -t ./...
- name: Test
run: go test ./tests/... -v
10 changes: 0 additions & 10 deletions data/emoji.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
{
"": {
"key": "",
"value": "",
"descriptor": ""
},
"1F004": {
"key": "1F004",
"value": "🀄",
Expand Down Expand Up @@ -20418,10 +20413,5 @@
"key": "AE-FE0F",
"value": "®️",
"descriptor": "Registered"
},
"FE0F": {
"key": "FE0F",
"value": "️",
"descriptor": "Variation Selector-16"
}
}
Loading

0 comments on commit 38ed444

Please sign in to comment.