Skip to content

[feat] Rewrote tool in rust. #20

[feat] Rewrote tool in rust.

[feat] Rewrote tool in rust. #20

Workflow file for this run

name: Tests
on:
workflow_dispatch:
pull_request:
types: [opened, synchronize, edited, reopened, ready_for_review]
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
export PATH="$HOME/.cargo/bin:$PATH"
- name: Print Rust and Cargo versions
run: |
rustc --version
cargo --version
- name: Install Clippy
run: rustup component add clippy
- name: Run Check
run: cargo check
- name: Run Clippy
run: cargo clippy
- name: Run Tests
run: cargo test