mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-11 02:50:19 -05:00
Bumps the all group with 4 updates in the / directory: [actions/checkout](https://github.com/actions/checkout), [actions/setup-node](https://github.com/actions/setup-node), [actions/cache](https://github.com/actions/cache) and [actions/upload-artifact](https://github.com/actions/upload-artifact). Updates `actions/checkout` from 4 to 6 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v6) Updates `actions/setup-node` from 4 to 6 - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v4...v6) Updates `actions/cache` from 4 to 5 - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v4...v5) Updates `actions/upload-artifact` from 5 to 6 - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major dependency-group: all - dependency-name: actions/setup-node dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major dependency-group: all - dependency-name: actions/cache dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major dependency-group: all - dependency-name: actions/upload-artifact dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major dependency-group: all ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
72 lines
2.0 KiB
YAML
72 lines
2.0 KiB
YAML
name: Copilot Setup Steps
|
|
|
|
# Automatically run the setup steps when they are changed to allow for easy validation, and
|
|
# allow manual testing through the repository's "Actions" tab
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
paths:
|
|
- .github/workflows/copilot-setup-steps.yml
|
|
pull_request:
|
|
paths:
|
|
- .github/workflows/copilot-setup-steps.yml
|
|
|
|
jobs:
|
|
copilot-setup-steps:
|
|
name: Setup Development Environment
|
|
runs-on: vscode-large-runners
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v6
|
|
with:
|
|
lfs: true
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v6
|
|
with:
|
|
node-version-file: .nvmrc
|
|
|
|
- name: Setup Python
|
|
uses: actions/setup-python@v6
|
|
with:
|
|
python-version: '3.12'
|
|
architecture: 'x64'
|
|
|
|
- name: Setup .NET
|
|
uses: actions/setup-dotnet@v5
|
|
with:
|
|
dotnet-version: '10.0'
|
|
|
|
- name: Install setuptools
|
|
run: pip install setuptools
|
|
|
|
- name: Restore build cache
|
|
uses: actions/cache/restore@v5
|
|
id: build-cache
|
|
with:
|
|
key: build_cache-${{ hashFiles('build/.cachesalt', 'package-lock.json') }}
|
|
path: .build/build_cache
|
|
|
|
- name: Extract build cache
|
|
if: steps.build-cache.outputs.cache-hit == 'true'
|
|
run: tar -xzf .build/build_cache/cache.tgz
|
|
|
|
- name: Install dependencies
|
|
if: steps.build-cache.outputs.cache-hit != 'true'
|
|
run: npm ci
|
|
|
|
- name: Create build cache archive
|
|
if: steps.build-cache.outputs.cache-hit != 'true'
|
|
run: |
|
|
set -e
|
|
mkdir -p .build
|
|
node build/listBuildCacheFiles.js .build/build_cache_list.txt
|
|
mkdir -p .build/build_cache
|
|
tar -czf .build/build_cache/cache.tgz --files-from .build/build_cache_list.txt
|
|
|
|
- name: Verify installation
|
|
run: |
|
|
node --version
|
|
npm --version
|
|
python --version
|
|
dotnet --version |