File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 1616
1717 - name : Cache build/deps
1818 uses : actions/cache@v4
19+ id : cache_deps
1920 with :
2021 path : |
2122 ~/.cargo/bin/
2728
2829 - name : Cache pgrx
2930 uses : actions/cache@v4
31+ id : cache_pgrx
3032 with :
3133 path : |
3234 ~/.pgrx/
@@ -38,10 +40,15 @@ jobs:
3840 toolchain : stable
3941 override : true
4042 components : rustfmt, clippy
41- - 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
43+ - name : Install debian deps
44+ run : sudo apt install build-essential bison flex clang protobuf-compiler libreadline8 libreadline-dev -y
45+ - name : Install pgrx
46+ run : cargo install cargo-pgrx --version 0.16.0 --locked
47+ if : steps.cache_pgrx.outputs.cache-hit != 'true'
4348 - run : cargo pgrx init
49+ if : steps.cache_pgrx.outputs.cache-hit != 'true'
4450 - run : cargo build --verbose
51+ if : steps.cache_deps.outputs.cache-hit != 'true'
4552 - run : cargo test --verbose
4653 - run : cargo pgrx test --verbose
4754
You can’t perform that action at this time.
0 commit comments