Adding GitHub Actions for building/testing and deploying cargo docs to GitHub Pages.

This commit is contained in:
fosdick.io
2024-02-06 14:00:04 -07:00
parent 47fafa1a4e
commit 8f1fc2fa65
2 changed files with 55 additions and 0 deletions

26
.github/workflows/rust-build-test.yaml vendored Normal file
View File

@@ -0,0 +1,26 @@
name: Rust
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --release --verbose
- name: Run tests
run: cargo test --verbose
- name: Linting
run: make lint