PostgreSQL extension for generating Xata-style xata_id unique identifiers (rec_<20_chars>) using Rust and pgrx.

ci: run cargo pgrx init only once

Changed files
+3 -4
.github
workflows
+3 -4
.github/workflows/ci.yml
··· 31 31 run: | 32 32 type cargo 33 33 cargo fmt --all --check 34 - - name: Install cargo pgrx 34 + - name: Init pgrx if cache missed 35 + if: steps.pgrx-cache.outputs.cache-hit != 'true' 35 36 run: | 36 37 sudo apt-get update && sudo apt-get install libreadline-dev -y 37 38 cargo install --locked cargo-pgrx 38 - - name: Init pgrx if cache missed 39 - if: steps.pgrx-cache.outputs.cache-hit != 'true' 40 - run: cargo pgrx init 39 + cargo pgrx init 41 40 - name: Run tests 42 41 run: cargo pgrx test