From ffd893f7c88769dfcb889861cf662b18f896a55f Mon Sep 17 00:00:00 2001 From: Cody Date: Sat, 4 Mar 2023 13:52:23 -0600 Subject: Add GitHub workflow and update Nix flakes --- .github/workflows/testing.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/testing.yml (limited to '.github/workflows/testing.yml') 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 -- cgit v1.2.3