Skip to content

Commit

Permalink
[ci] Add pull request build #5 (#6)
Browse files Browse the repository at this point in the history
Create pr.yaml
  • Loading branch information
michaelvlach authored Aug 17, 2022
1 parent 2fccb5e commit cce0f1d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: pr

on:
pull_request:
branches: ["main"]

env:
CARGO_TERM_COLOR: always

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: cargo build --verbose

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: cargo test --verbose

0 comments on commit cce0f1d

Please sign in to comment.