Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Commit

Permalink
try adding a ci
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiajt committed Dec 17, 2023
1 parent 26d2657 commit 7430c20
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Cargo Build & Test

on:
push:
pull_request:

env:
CARGO_TERM_COLOR: always

jobs:
build_and_test:
name: Rust project - latest
runs-on: [windows-latest, macos-latest, ubuntu-20.04]
strategy:
matrix:
toolchain:
- stable
steps:
- uses: actions/checkout@v3
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo fmt --all -- --check
- run: cargo clippy --verbose
- run: cargo test --verbose

0 comments on commit 7430c20

Please sign in to comment.