emoj_rs 0.1.1

rust implementation of emoj
Documentation
name: Release to crates.io

on:
  push:
    branches:
      - main

jobs: 
  publish:
    runs-on: ubuntu-latest
    steps:
    - name: Checkout repository
      uses: actions/checkout@v3
      with:
        fetch-depth: 1
    - name: Install Rust
      uses: actions-rs/toolchain@v1
      with:
        toolchain: stable
        override: true
    - name: Run cargo check
      uses: actions-rs/cargo@v1
      with:
        command: check

    - name: Run Tests
      run: TERM=linux cargo test --verbose

    - name: Login crates.io
      run: cargo login ${CRATES_IO_TOKEN}
      env:
        CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}

    - run: cargo publish