Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Declare authentication contribution #1398

Merged
merged 3 commits into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
with:
ref: ${{ github.ref }}

- uses: actions/cache@v2
- uses: actions/cache@v4
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: |
Expand All @@ -33,7 +33,7 @@ jobs:
${{ runner.os }}-yarn-

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- env:
Expand Down Expand Up @@ -68,13 +68,13 @@ jobs:
yarn run build
yarn run pack:all

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: VSIX packages
path: ./*.vsix

- name: 'Upload coverage'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: coverage.tar
path: ./coverage
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-formatter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ jobs:
with:
ref: ${{ github.ref }}

- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- env:
Expand All @@ -47,7 +47,7 @@ jobs:
yarn pack

- name: 'Upload tgz'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: package
path: ./packages/formatter/*.tgz
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload-release-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
ref: ${{ github.ref }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- env:
Expand Down
11 changes: 7 additions & 4 deletions packages/extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,15 @@
}
],
"activationEvents": [
"*",
"onLanguage:sql",
"onCommand:sqltools.selectConnection",
"onAuthenticationRequest:sqltools-driver-credentials"
"*"
],
"contributes": {
"authentication": [
{
"id": "sqltools-driver-credentials",
"label": "SQLTools Driver Credentials"
}
],
"colors": [
{
"id": "sqltools.currentQueryBg",
Expand Down