Kotlin bindings, tests, swift/kotlin CI validation and release script #7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Validate emojibase.json | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
concurrency: | |
# When running on main, use the sha to allow all runs of this workflow to run concurrently. | |
# Otherwise only allow a single run of this workflow on each branch, automatically cancelling older runs. | |
group: ${{ github.workflow }} | |
cancel-in-progress: ${{ github.ref_name != 'main' }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
cache: "yarn" | |
- name: Setup | |
run: "yarn install" | |
- name: Gerenate json | |
run: "yarn start" | |
- name: Validate it matches source | |
run: "git diff --exit-code" |