feat: prepare the lib to publish #8
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
# Copyright 2024-2025 - Andriel Ferreira | |
# | |
# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or | |
# https:#www.apache.org/licenses/LICENSE-2.0> or the MIT license | |
# <LICENSE-MIT or https:#opensource.org/licenses/MIT>, at your | |
# option. This file may not be copied, modified, or distributed | |
# except according to those terms. | |
on: [push, pull_request] | |
name: Check | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v2 | |
- name: Install stable toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- name: Run cargo check | |
uses: actions-rs/cargo@v1 | |
with: | |
command: check |