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
+2 -6
.github
workflows
+2 -6
.github/workflows/ci.yml
··· 25 25 - name: Install cargo-pgrx if missing 26 26 run: | 27 27 if ! command -v cargo-pgrx &> /dev/null; then 28 + sudo apt-get update && sudo apt-get install libreadline-dev -y 28 29 cargo install cargo-pgrx --locked 30 + cargo pgrx init 29 31 fi 30 32 - name: Run fmt 31 33 run: | 32 34 type cargo 33 35 cargo fmt --all --check 34 - - name: Init pgrx if cache missed 35 - if: steps.pgrx-cache.outputs.cache-hit != 'true' 36 - run: | 37 - sudo apt-get update && sudo apt-get install libreadline-dev -y 38 - cargo install --locked cargo-pgrx 39 - cargo pgrx init 40 36 - name: Run tests 41 37 run: cargo pgrx test