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

ci: setup github actions

+46
+29
.github/workflows/ci.yml
··· 1 + name: ci 2 + on: 3 + push: 4 + branches: 5 + - main 6 + pull_request: 7 + branches: 8 + - main 9 + jobs: 10 + fmt: 11 + runs-on: ubuntu-latest 12 + steps: 13 + - uses: actions/checkout@v2 14 + - name: Setup Fluent CI 15 + uses: fluentci-io/setup-fluentci@v5 16 + with: 17 + wasm: true 18 + plugin: rust 19 + args: setup 20 + env: 21 + GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} 22 + - name: Run fmt 23 + run: | 24 + type cargo 25 + cargo fmt --all --check 26 + - name: Run test 27 + run: | 28 + type cargo 29 + cargo test
+17
.tangled/workflows/ci.yml
··· 1 + when: 2 + - event: ["push", "pull_request"] 3 + branch: ["main"] 4 + 5 + dependencies: 6 + nixpkgs: 7 + - cargo 8 + - rustc 9 + - rustfmt 10 + 11 + steps: 12 + - name: "cargo fmt" 13 + command: | 14 + cargo fmt --all --check 15 + - name: "cargo test" 16 + command: | 17 + cargo test