Skip to content

Commit

Permalink
build and test the workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
jifalops committed Aug 20, 2023
1 parent 23ae6dc commit abea70f
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,20 @@ name: Rust

on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
branches: [ "main" ]
branches: ["main"]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build
run: |
cd lib
cargo build --verbose
- name: Run tests
run: |
cd example
cargo test --verbose
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose

0 comments on commit abea70f

Please sign in to comment.