Skip to content

Bump actions/setup-dotnet from 5.1.0 to 5.2.0 #71

Bump actions/setup-dotnet from 5.1.0 to 5.2.0

Bump actions/setup-dotnet from 5.1.0 to 5.2.0 #71

#
# This workflow is used to set up the environment for GitHub Copilot.
#
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:
# The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot.
copilot-setup-steps:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7 # v5.2.0
with:
global-json-file: global.json
- name: Install dependencies
shell: pwsh
timeout-minutes: 5
run: |
dotnet restore;
./scripts/pipeline-deps.ps1;
Import-Module ./scripts/dependencies.psm1 -Force;
Install-Dependencies -Dev;