Skip to content

Commit

Permalink
fix: upgrades @vscode/test-electron to latest version (#733)
Browse files Browse the repository at this point in the history
  • Loading branch information
tdstein authored Jan 3, 2024
1 parent b94d1ed commit f144732
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/vscode.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: VSCode
on:
workflow_call:
env:
VSCODE_VERSION: 1.85.0
VSCODE_VERSION: stable
jobs:
native:
env:
Expand All @@ -20,36 +20,42 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 18.x
- id: get-date
run: echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT
shell: bash
- uses: actions/cache/restore@v3
id: cache
with:
path: ./extensions/vscode/.vscode-test/vscode-*
key: ${{ matrix.runner }}-vscode-${{ env.VSCODE_VERSION }}
key: ${{ matrix.runner }}-vscode-${{ env.VSCODE_VERSION }}-${{ steps.get-date.outputs.date }}
- run: just vscode install
- run: just vscode lint
- run: just vscode test
- uses: actions/cache/save@v3
if: steps.cache.outputs.cache-hit != 'true'
with:
path: ./extensions/vscode/.vscode-test/vscode-*
key: ${{ matrix.runner }}-vscode-${{ env.VSCODE_VERSION }}
key: ${{ matrix.runner }}-vscode-${{ env.VSCODE_VERSION }}-${{ steps.get-date.outputs.date }}
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: ./.github/actions/setup
- id: get-date
run: echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT
shell: bash
- uses: actions/cache/restore@v3
id: cache
with:
path: ./extensions/vscode/.vscode-test/vscode-*
key: docker-vscode-${{ env.VSCODE_VERSION }}
key: docker-vscode-${{ env.VSCODE_VERSION }}-${{ steps.get-date.outputs.date }}
- run: just vscode install
- run: just vscode lint
- run: just vscode test
- uses: actions/cache/save@v3
if: steps.cache.outputs.cache-hit != 'true'
with:
path: ./extensions/vscode/.vscode-test/vscode-*
key: docker-vscode-${{ env.VSCODE_VERSION }}
key: docker-vscode-${{ env.VSCODE_VERSION }}-${{ steps.get-date.outputs.date }}
8 changes: 4 additions & 4 deletions extensions/vscode/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion extensions/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"@types/wait-on": "^5.3.3",
"@typescript-eslint/eslint-plugin": "^6.7.3",
"@typescript-eslint/parser": "^6.7.3",
"@vscode/test-electron": "^2.3.4",
"@vscode/test-electron": "^2.3.8",
"eslint": "^8.50.0",
"glob": "^10.3.3",
"mocha": "^10.2.0",
Expand Down

0 comments on commit f144732

Please sign in to comment.