Skip to content

Commit 1b0d924

Browse files
committed
fix: Seperate workflows into seperate jobs
1 parent 8101f83 commit 1b0d924

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/build_test.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ env:
88
CARGO_TERM_COLOR: always
99

1010
jobs:
11-
build_and_test:
11+
cache:
1212
name: etcd_fdw Build and Test
1313
runs-on: ubuntu-latest
1414
steps:
@@ -31,15 +31,20 @@ jobs:
3131
path: |
3232
~/.pgrx/
3333
key: pgrx-0.16.0
34-
35-
- name: Install latest stable toolchain
34+
35+
install_toolchain:
36+
name: Install latest stable toolchain
3637
uses: actions-rs/toolchain@v1
3738
with:
3839
toolchain: stable
3940
override: true
4041
components: rustfmt, clippy
42+
install_dependencies:
4143
- run: sudo apt install build-essential bison flex clang protobuf-compiler libreadline8 libreadline-dev -y
42-
- run: cargo install cargo-pgrx --version 0.16.0 --locked
44+
install_cargo_pgrx:
45+
continue-on-error: true
46+
run: cargo install cargo-pgrx --version 0.16.0 --locked
47+
build_and_test:
4348
- run: cargo pgrx init
4449
- run: cargo build --verbose
4550
- run: cargo test --verbose

0 commit comments

Comments
 (0)