Skip to content

Commit dd665b1

Browse files
authored
Merge pull request #49 from tari-project/ci
feat: add test script and fix templates for latest tari_template_lib
2 parents ac8c6d4 + 87164a5 commit dd665b1

File tree

31 files changed

+649
-419
lines changed

31 files changed

+649
-419
lines changed

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
8+
env:
9+
CARGO_TERM_COLOR: always
10+
11+
jobs:
12+
test-templates:
13+
name: Test Templates
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- uses: dtolnay/rust-toolchain@stable
19+
with:
20+
targets: wasm32-unknown-unknown
21+
22+
- name: Install cargo-generate
23+
run: cargo install cargo-generate
24+
25+
- uses: Swatinem/rust-cache@v2
26+
27+
- name: Run template tests
28+
run: ./scripts/test-templates.sh

0 commit comments

Comments
 (0)