Skip to content

Commit

Permalink
Add CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
speelbarrow committed Oct 22, 2023
1 parent 1343ef0 commit bf0933c
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: ''
description: ''
inputs:
variables:
description: ''
required: false
runs:
using: composite
steps:
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
~/.rustup/
target/
key: rust-${{ hashFiles('Cargo.toml') }}
- uses: dtolnay/rust-toolchain@stable
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: CI
on: push
jobs:
test:
name: Run tests
runs-on: ubuntu-latest
steps:
- name: Checkout and setup
uses: speelbarrow/checkout-and-setup@v1
- name: Run tests
run: cargo test --workspace --all-features

0 comments on commit bf0933c

Please sign in to comment.