Skip to content

Commit

Permalink
Merge pull request #25 from getslash/feature/github-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
vmalloc authored Oct 7, 2022
2 parents 36d607a + cff9860 commit 717ae6f
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI

on: [push]

env:
CARGO_TERM_COLOR: always

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}

- name: Clippy
run: cargo clippy --all --tests -- -D warnings
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose

0 comments on commit 717ae6f

Please sign in to comment.