Skip to content

Commit

Permalink
Button down security
Browse files Browse the repository at this point in the history
  • Loading branch information
cevian committed Jun 5, 2024
1 parent 360077f commit 5eae3d7
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 73 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
* @timescale/ts-vector
/.github/ @jgpruitt @cevian @avthars
4 changes: 2 additions & 2 deletions .github/actions/install-pgrx/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ runs:
- name: Cache cargo-pgrx installation ${{ inputs.pgrx-version }}
id: cache-cargo-pgrx
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cargo/bin/cargo-pgrx
key: ${{runner.os}}-cargo-pgrx-${{ inputs.pgrx-version }}-pg${{ steps.pg-config.outputs.version }}-${{ steps.rustc.outputs.version }}
Expand All @@ -60,7 +60,7 @@ runs:
- name: Cache cargo-grcov installation ${{ inputs.grcov-version }}
id: cache-cargo-grcov
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cargo/bin/grcov
key: ${{runner.os}}-cargo-grcov-${{ inputs.grcov-version }}-${{ steps.rustc.outputs.version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/install-postgres/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ runs:
steps:
- name: Cache PostgreSQL ${{ inputs.pg-version }}
id: cache-postgresql
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ inputs.pg-src-dir }}
key: ${{ runner.os }}-postgresql-${{ inputs.pg-version }}
Expand Down
10 changes: 0 additions & 10 deletions .github/matrix/dependencies.json

This file was deleted.

5 changes: 4 additions & 1 deletion .github/workflows/code_checks.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Run code checks
on: [push, pull_request, workflow_dispatch]
permissions:
contents: read

jobs:
fmt:
runs-on: ubuntu-latest
Expand All @@ -9,7 +12,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Verify formatting
run: cd pgvectorscale && cargo fmt --check
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deb-packager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

steps:
- name: Checkout pgvectorscale
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Linux Packages
uses: ./.github/actions/install-packages
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
# Use a GH artifact, then we can make use of the (quite limited) GH API https://docs.github.com/en/rest/actions/artifacts
# The artifact will have a TTL of 90 days
- name: Upload deb as Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: vector-${{ env.TAG }}-pg${{ env.PG_VER }}
path: pkgdump/pgvectorscale-*${{ env.TAG }}*.deb
55 changes: 0 additions & 55 deletions .github/workflows/pr-validation.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/shellcheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
sudo apt-get install shellcheck
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Run shellcheck
run: |
Expand Down
2 changes: 1 addition & 1 deletion scripts/package-deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

DEBHELPER_COMPAT=11

set -ex
set -eux

OS_NAME="${3}"
BASEDIR="${2}"/pgvectorscale
Expand Down

0 comments on commit 5eae3d7

Please sign in to comment.