Skip to content

Commit

Permalink
Add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaddyDC authored Dec 5, 2023
1 parent c7a9f0d commit fb78d0c
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Rust

on:
push:
pull_request:
branches: [ "master" ]

env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "-Dwarnings"

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --all-targets --all-features --verbose
- name: Run tests
run: cargo test --all-targets --all-features --verbose
- name: Run clippy
run: cargo clippy --all-targets --all-features

0 comments on commit fb78d0c

Please sign in to comment.