mirror of
https://github.com/Rate-Limiting-Nullifier/rln-cli.git
synced 2026-01-09 04:37:58 -05:00
chore: add basic CI
This commit is contained in:
21
.github/workflows/build-test-fmt.yml
vendored
Normal file
21
.github/workflows/build-test-fmt.yml
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
name: Build-Test-Fmt
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build-test-fmt:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: rustup toolchain install stable --profile minimal
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
|
||||
- name: Build
|
||||
run: cargo build
|
||||
|
||||
- name: Test
|
||||
run: cargo test
|
||||
|
||||
- name: Fmt
|
||||
run: cargo fmt -- --check
|
||||
Reference in New Issue
Block a user