Skip to content

Commit cad537b

Browse files
committed
chore: update workflows
1 parent 391e223 commit cad537b

18 files changed

+212
-104
lines changed

.github/dependabot.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ updates:
2828
- package-ecosystem: "gomod"
2929
commit-message:
3030
prefix: "chore: "
31+
directory: "/go"
3132
groups:
3233
"golang.org/x":
3334
applies-to: version-updates
@@ -41,3 +42,20 @@ updates:
4142
open-pull-requests-limit: 5
4243
schedule:
4344
interval: "weekly"
45+
46+
- package-ecosystem: "nuget"
47+
commit-message:
48+
prefix: "chore(csharp): "
49+
directory: "/csharp/"
50+
ignore:
51+
- dependency-name: "Microsoft.Extensions.*"
52+
update-types:
53+
- "version-update:semver-major"
54+
- dependency-name: "Microsoft.Bcl.*"
55+
update-types:
56+
- "version-update:semver-major"
57+
- dependency-name: "System.*"
58+
update-types:
59+
- "version-update:semver-major"
60+
schedule:
61+
interval: "weekly"

.github/workflows/dev.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,4 @@ permissions:
2525

2626
jobs:
2727
lint:
28-
uses: adbc-drivers/dev/.github/workflows/dev.yaml@fbab68dd3804ca071ee3f99dcf1a7161b4598fd4
29-
secrets:
30-
pre_commit_ssh_private_key: ${{ secrets.DEV_DEPLOY_KEY }}
31-
ssh_private_key: ${{ secrets.DRIVERBASE_DEPLOY_KEY }}
28+
uses: adbc-drivers/dev/.github/workflows/dev.yaml@19b7466f3177cf978db8c7a444f8710bd850e66c

.github/workflows/release.yaml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,8 @@ permissions:
3535

3636
jobs:
3737
test:
38-
uses: adbc-drivers/dev/.github/workflows/test.yaml@fbab68dd3804ca071ee3f99dcf1a7161b4598fd4
38+
uses: adbc-drivers/dev/.github/workflows/test.yaml@19b7466f3177cf978db8c7a444f8710bd850e66c
3939
secrets:
40-
dev_private_key: ${{ secrets.DEV_DEPLOY_KEY }}
41-
driverbase_private_key: ${{ secrets.DRIVERBASE_DEPLOY_KEY }}
4240
environment: ${{ secrets.BIGQUERY_ENV }}
4341
gcloud_service_account: ${{ secrets.GCLOUD_SERVICE_ACCOUNT }}
4442
gcloud_workload_identity_provider: ${{ secrets.GCLOUD_WORKLOAD_IDENTITY_PROVIDER }}
@@ -50,11 +48,8 @@ jobs:
5048
subdir: go
5149

5250
validate:
53-
uses: adbc-drivers/dev/.github/workflows/validate.yaml@fbab68dd3804ca071ee3f99dcf1a7161b4598fd4
51+
uses: adbc-drivers/dev/.github/workflows/validate.yaml@19b7466f3177cf978db8c7a444f8710bd850e66c
5452
secrets:
55-
dev_private_key: ${{ secrets.DEV_DEPLOY_KEY }}
56-
driverbase_private_key: ${{ secrets.DRIVERBASE_DEPLOY_KEY }}
57-
validation_private_key: ${{ secrets.VALIDATION_DEPLOY_KEY }}
5853
environment: ${{ secrets.BIGQUERY_ENV }}
5954
gcloud_service_account: ${{ secrets.GCLOUD_SERVICE_ACCOUNT }}
6055
gcloud_workload_identity_provider: ${{ secrets.GCLOUD_WORKLOAD_IDENTITY_PROVIDER }}
@@ -65,22 +60,18 @@ jobs:
6560
subdir: go
6661

6762
release:
68-
uses: adbc-drivers/dev/.github/workflows/release.yaml@fbab68dd3804ca071ee3f99dcf1a7161b4598fd4
63+
uses: adbc-drivers/dev/.github/workflows/release.yaml@19b7466f3177cf978db8c7a444f8710bd850e66c
6964
needs:
7065
- test
7166
- validate
7267
if: github.event_name != 'workflow_dispatch'
73-
secrets:
74-
dev_private_key: ${{ secrets.DEV_DEPLOY_KEY }}
7568

7669
release-dry-run:
77-
uses: adbc-drivers/dev/.github/workflows/release.yaml@fbab68dd3804ca071ee3f99dcf1a7161b4598fd4
70+
uses: adbc-drivers/dev/.github/workflows/release.yaml@19b7466f3177cf978db8c7a444f8710bd850e66c
7871
needs:
7972
- test
8073
- validate
8174
if: github.event_name == 'workflow_dispatch'
82-
secrets:
83-
dev_private_key: ${{ secrets.DEV_DEPLOY_KEY }}
8475
with:
8576
driver: bigquery
8677
dry_run: true

.github/workflows/test.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,8 @@ permissions:
2727

2828
jobs:
2929
test:
30-
uses: adbc-drivers/dev/.github/workflows/test.yaml@fbab68dd3804ca071ee3f99dcf1a7161b4598fd4
30+
uses: adbc-drivers/dev/.github/workflows/test.yaml@19b7466f3177cf978db8c7a444f8710bd850e66c
3131
secrets:
32-
dev_private_key: ${{ secrets.DEV_DEPLOY_KEY }}
33-
driverbase_private_key: ${{ secrets.DRIVERBASE_DEPLOY_KEY }}
3432
environment: ${{ secrets.BIGQUERY_ENV }}
3533
gcloud_service_account: ${{ secrets.GCLOUD_SERVICE_ACCOUNT }}
3634
gcloud_workload_identity_provider: ${{ secrets.GCLOUD_WORKLOAD_IDENTITY_PROVIDER }}
@@ -41,11 +39,8 @@ jobs:
4139
subdir: go
4240

4341
validate:
44-
uses: adbc-drivers/dev/.github/workflows/validate.yaml@fbab68dd3804ca071ee3f99dcf1a7161b4598fd4
42+
uses: adbc-drivers/dev/.github/workflows/validate.yaml@19b7466f3177cf978db8c7a444f8710bd850e66c
4543
secrets:
46-
dev_private_key: ${{ secrets.DEV_DEPLOY_KEY }}
47-
driverbase_private_key: ${{ secrets.DRIVERBASE_DEPLOY_KEY }}
48-
validation_private_key: ${{ secrets.VALIDATION_DEPLOY_KEY }}
4944
environment: ${{ secrets.BIGQUERY_ENV }}
5045
gcloud_service_account: ${{ secrets.GCLOUD_SERVICE_ACCOUNT }}
5146
gcloud_workload_identity_provider: ${{ secrets.GCLOUD_WORKLOAD_IDENTITY_PROVIDER }}

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ repos:
5656
exclude: '\.(bat|sln)$'
5757
- id: trailing-whitespace
5858

59-
- repo: git@github.com:adbc-drivers/dev
60-
rev: f5779f2109f177f7da6394d3427589a3a84eb521
59+
- repo: https://github.com/adbc-drivers/dev
60+
rev: 19b7466f3177cf978db8c7a444f8710bd850e66c
6161
hooks:
6262
- id: rat

CONTRIBUTING.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,10 @@ $ pixi run make
5151

5252
To run the validation suite, you will first need to build the shared library.
5353
You will also need to set up a BigQuery instance (see [the validation
54-
README](./validation/README.md)). Finally, from the `go/validation/`
55-
subdirectory:
54+
README](./go/validation/README.md)). Finally, from the `go/` subdirectory:
5655

5756
```shell
58-
$ pixi run test
57+
$ pixi run validate
5958
```
6059

6160
This will produce a test report, which can be rendered into a documentation

0 commit comments

Comments
 (0)