add basic rust ci using task
Some checks failed
Build and Test Formaty / build (push) Failing after 1m49s
Build and Test Formaty / build (pull_request) Failing after 1m43s

This commit is contained in:
Joey Hines 2026-03-22 14:43:17 -06:00
parent 05e773d62c
commit e2eceeb13a
Signed by: joeyahines
GPG Key ID: E99D8FB14855100E

View File

@ -0,0 +1,22 @@
name: Build and Test Formaty
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install Task
uses: go-task/setup-task@v1
- uses: actions/checkout@v2
- name: Stable with rustfmt and clippy
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: rustfmt, clippy
- name: Lint Code
run: task check
- name: Build
run: task build
- name: Run Unit Tests
run: task test