Skip to content

Commit

Permalink
Try gh workflows too
Browse files Browse the repository at this point in the history
  • Loading branch information
GothAck committed Nov 26, 2021
1 parent 28be75e commit e098077
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Rust

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Cache cargo build dir
uses: actions/cache@v2
with:
path: target
key: ${{ runner.os }}-target
- name: Build
run: cargo build
- name: Run tests
run: cargo test
- name: Run benches
run: cargo bench

0 comments on commit e098077

Please sign in to comment.