{"id":20643936,"url":"https://github.com/adjust/pg-ext-actions","last_synced_at":"2026-05-28T01:02:45.962Z","repository":{"id":66824982,"uuid":"420043401","full_name":"adjust/pg-ext-actions","owner":"adjust","description":"Github action to build and test PostgreSQL extensions","archived":false,"fork":false,"pushed_at":"2021-10-27T10:37:05.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-12-15T01:14:05.583Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adjust.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-22T09:40:41.000Z","updated_at":"2022-07-29T13:39:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"baf9decf-905a-40eb-b5eb-8fc59fff9d70","html_url":"https://github.com/adjust/pg-ext-actions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/adjust/pg-ext-actions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adjust%2Fpg-ext-actions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adjust%2Fpg-ext-actions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adjust%2Fpg-ext-actions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adjust%2Fpg-ext-actions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adjust","download_url":"https://codeload.github.com/adjust/pg-ext-actions/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adjust%2Fpg-ext-actions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33589685,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-27T02:00:06.184Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T16:14:20.986Z","updated_at":"2026-05-28T01:02:45.945Z","avatar_url":"https://github.com/adjust.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pg-ext-actions\n\nA custom Github actions for testing PostgreSQL extensions.\n\n## Actions\n\n### `pg-setup`\n\nInstall and run specified PostgreSQL version.\nArguments:\n* `version`: major PostgreSQL version, required;\n* `install-contrib`: whether to install postgres-contrib package; `'true'` for yes, anything else is considered a no, optional.\n\n### `install-dependency`\n\nClone, build and install listed PostgreSQL extensions.\nArguments:\n* `repository`: a space separated list of repositories of extensions to be installed, required;\n* `host`: git platform hostname, optional; GitHub (github.com) is used by default;\n* `auth-token`: authentication token (e.g. GitHub personal access token), optional.\n\n### `build-check`\n\nBuild and install extension and run regression tests. In case of test failure the `regression.diff` is printed out and error code is returned.\nArguments:\n* `working-directory`: directory to run script in, optional; by default runs script in current directory.\n\n### `update-check`\n\nRun update script from the version specified in control file in the main branch (e.g. `master` or `main`) to the current version.\nArguments:\n* `main-branch`: main branch to update from, optional; when not specified the default branch is used;\n* `working-directory`: directory to run script in, optional; by default runs script in current directory.\n\n## Example for Github Actions\n\n```yaml\nname: CI\n\non:\n  push:\n    branches: ['*']\n  pull_request:\n    branches: ['*']\n\njobs:\n  test:\n    strategy:\n      fail-fast: false\n      matrix:\n        pg: [14, 13, 12, 11, 10, 9.6]\n    name: PostgreSQL ${{ matrix.pg }}\n    runs-on: ubuntu-latest\n    steps:\n      # Install PostgreSQL\n      - uses: adjust/pg-ext-actions/pg-setup@master\n        with:\n          version: ${{ matrix.pg }}\n          install-contrib: 'true'\n\n      # Install dependencies\n      - uses: adjust/pg-ext-actions/install-dependency@master\n        with:\n          repository: \u003caccount\u003e/\u003crepo\u003e\n          auth-token: ${{ secrets.SECRET_TOKEN }}\n\n      # Clone and build extension, run tests\n      - uses: actions/checkout@v2\n      - uses: adjust/pg-ext-actions/build-check@master\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadjust%2Fpg-ext-actions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadjust%2Fpg-ext-actions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadjust%2Fpg-ext-actions/lists"}