Skip to content

Commit

Permalink
Add github actions CI
Browse files Browse the repository at this point in the history
  • Loading branch information
RCasatta committed Aug 3, 2021
1 parent 9c96451 commit 64174b4
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: Test and Build

on: [push, pull_request]

jobs:

test:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
rust: [stable, nightly, 1.46.0]

steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
- name: test
uses: actions-rs/cargo@v1
with:
command: test
args: --verbose --all --all-features --manifest-path bip78/Cargo.toml
- name: build payjoin example
uses: actions-rs/cargo@v1
with:
command: build
args: --manifest-path payjoin-client/Cargo.toml

0 comments on commit 64174b4

Please sign in to comment.