aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/testing.yml
diff options
context:
space:
mode:
authorCody <cody@codyq.dev>2023-03-04 13:52:23 -0600
committerCody <cody@codyq.dev>2023-03-04 13:52:23 -0600
commitffd893f7c88769dfcb889861cf662b18f896a55f (patch)
tree46097a5c3b6987c24e04574b5b3541674624ba2c /.github/workflows/testing.yml
parentd1593cfaf31f291cea63ed552d492138efa451ce (diff)
downloadsloth-ffd893f7c88769dfcb889861cf662b18f896a55f.tar.gz
Add GitHub workflow and update Nix flakes
Diffstat (limited to '.github/workflows/testing.yml')
-rw-r--r--.github/workflows/testing.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml
new file mode 100644
index 0000000..f2616d9
--- /dev/null
+++ b/.github/workflows/testing.yml
@@ -0,0 +1,22 @@
+name: Testing
+on: [push, pull_request]
+
+jobs:
+ test:
+ strategy:
+ matrix:
+ os:
+ - ubuntu
+ - windows
+ - macos
+ rust:
+ - nightly
+ - stable
+ name: Test Rust ${{ matrix.rust }} on ${{ matrix.os }}
+ runs-on: ${{ matrix.os }}-latest
+ steps:
+ - uses: actions/checkout@v2
+ - uses: dtolnay/rust-toolchain@stable
+ with:
+ toolchain: ${{ matrix.rust }}
+ - run: cargo test --all-features