Skip to content

Commit 49347d0

Browse files
committed
chore: Add github action for building and testing
1 parent e1dffc5 commit 49347d0

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/build_test.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Cargo Build & Test
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
env:
8+
CARGO_TERM_COLOR: always
9+
10+
jobs:
11+
build_and_test:
12+
name: Rust project - latest
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- run: rustup update stable && rustup default stable
17+
- run: cargo install cargo-pgrx --version 0.16.0
18+
- run: cargo build --verbose
19+
- run: cargo pgrx test --verbose
20+
21+

0 commit comments

Comments
 (0)