Joey Hines a1c8b4a8db
Some checks failed
Build and Test Formaty / build (pull_request) Failing after 1m2s
Build and Test Formaty / build (push) Failing after 1m4s
set a github api token
2026-03-22 15:01:10 -06:00

25 lines
612 B
YAML

name: Build and Test Formaty
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install Task
uses: go-task/setup-task@v2
with:
repo-token: ${{ secrets.TASK_GITHUB_API_TOKEN }}
- 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