Skip to content

Commit caec1af

Browse files
committed
Prefer using PowerShell commands and commandlets to CLI tools
1 parent 870e478 commit caec1af

2 files changed

Lines changed: 15 additions & 2 deletions

File tree

.github/copilot-instructions.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ C# 13
44
.NET 8 and 9
55
Nullability checks enabled
66

7+
## Shell operations
8+
9+
Always prefer PowerShell for all shell operations.
10+
Always prefer installing PowerShell modules over installing CLI tools.
11+
12+
## GitHub operations
13+
14+
Use `PowerShellForGitHub` PowerShell module for all GitHub operations. Never use GitHub CLI (`gh`) or any other CLI tool for GitHub.
15+
716
## Libraries we use
817

918
If you need any source code you can find it in the following repositories:

.github/workflows/copilot-setup-steps.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,9 @@ jobs:
3232
uses: actions/setup-dotnet@v5
3333
with:
3434
global-json-file: global.json
35-
dotnet-version: |
36-
10.x
35+
dotnet-version: 10.x
36+
37+
- name: Restore dependencies
38+
run: |
39+
dotnet restore FSharp.Data.GraphQL.slnx
40+
dotnet restore FSharp.Data.GraphQL.Integration.slnx

0 commit comments

Comments
 (0)