Skip to content

Commit 5eae3d7

Browse files
committed
Button down security
1 parent 360077f commit 5eae3d7

9 files changed

Lines changed: 12 additions & 73 deletions

File tree

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
* @timescale/ts-vector
2+
/.github/ @jgpruitt @cevian @avthars

.github/actions/install-pgrx/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ runs:
3939
4040
- name: Cache cargo-pgrx installation ${{ inputs.pgrx-version }}
4141
id: cache-cargo-pgrx
42-
uses: actions/cache@v3
42+
uses: actions/cache@v4
4343
with:
4444
path: ~/.cargo/bin/cargo-pgrx
4545
key: ${{runner.os}}-cargo-pgrx-${{ inputs.pgrx-version }}-pg${{ steps.pg-config.outputs.version }}-${{ steps.rustc.outputs.version }}
@@ -60,7 +60,7 @@ runs:
6060
6161
- name: Cache cargo-grcov installation ${{ inputs.grcov-version }}
6262
id: cache-cargo-grcov
63-
uses: actions/cache@v3
63+
uses: actions/cache@v4
6464
with:
6565
path: ~/.cargo/bin/grcov
6666
key: ${{runner.os}}-cargo-grcov-${{ inputs.grcov-version }}-${{ steps.rustc.outputs.version }}

.github/actions/install-postgres/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ runs:
1515
steps:
1616
- name: Cache PostgreSQL ${{ inputs.pg-version }}
1717
id: cache-postgresql
18-
uses: actions/cache@v3
18+
uses: actions/cache@v4
1919
with:
2020
path: ${{ inputs.pg-src-dir }}
2121
key: ${{ runner.os }}-postgresql-${{ inputs.pg-version }}

.github/matrix/dependencies.json

Lines changed: 0 additions & 10 deletions
This file was deleted.

.github/workflows/code_checks.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Run code checks
22
on: [push, pull_request, workflow_dispatch]
3+
permissions:
4+
contents: read
5+
36
jobs:
47
fmt:
58
runs-on: ubuntu-latest
@@ -9,7 +12,7 @@ jobs:
912

1013
steps:
1114
- name: Checkout
12-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1316

1417
- name: Verify formatting
1518
run: cd pgvectorscale && cargo fmt --check

.github/workflows/deb-packager.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
steps:
3232
- name: Checkout pgvectorscale
33-
uses: actions/checkout@v3
33+
uses: actions/checkout@v4
3434

3535
- name: Install Linux Packages
3636
uses: ./.github/actions/install-packages
@@ -69,7 +69,7 @@ jobs:
6969
# Use a GH artifact, then we can make use of the (quite limited) GH API https://docs.github.com/en/rest/actions/artifacts
7070
# The artifact will have a TTL of 90 days
7171
- name: Upload deb as Artifact
72-
uses: actions/upload-artifact@v3
72+
uses: actions/upload-artifact@v4
7373
with:
7474
name: vector-${{ env.TAG }}-pg${{ env.PG_VER }}
7575
path: pkgdump/pgvectorscale-*${{ env.TAG }}*.deb

.github/workflows/pr-validation.yaml

Lines changed: 0 additions & 55 deletions
This file was deleted.

.github/workflows/shellcheck.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
sudo apt-get install shellcheck
2222
2323
- name: Checkout
24-
uses: actions/checkout@v3
24+
uses: actions/checkout@v4
2525

2626
- name: Run shellcheck
2727
run: |

scripts/package-deb.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
DEBHELPER_COMPAT=11
44

5-
set -ex
5+
set -eux
66

77
OS_NAME="${3}"
88
BASEDIR="${2}"/pgvectorscale

0 commit comments

Comments
 (0)