Skip to content

Commit

Permalink
Merge pull request #7 from BenLeadbetter/CI-Add-standard-cargo-GitHub…
Browse files Browse the repository at this point in the history
…-actions

ci: add standard cargo github actions
  • Loading branch information
BenLeadbetter authored May 8, 2024
2 parents 65445e8 + 7a6268a commit 99cf860
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Rust

on:
push:
branches: [ "main", "develop" ]
pull_request:
branches: [ "main", "develop" ]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]

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

0 comments on commit 99cf860

Please sign in to comment.