Skip to content

Commit ccdd213

Browse files
authored
maint: Cleans up gitignore and updates upload-artifact dep
Code Quality: Upgrade `.gitignore` to latest
2 parents c8d9028 + 30353a1 commit ccdd213

File tree

2 files changed

+185
-34
lines changed

2 files changed

+185
-34
lines changed

.github/workflows/dotnetcore.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
dotnet pack Octokit.GraphQL.Pack/Octokit.GraphQL.Pack.csproj --output
4646
${{ env.PackageOutputPath }}
4747
- name: Upload nupkg artifact
48-
uses: actions/upload-artifact@v2
48+
uses: actions/upload-artifact@v4
4949
with:
5050
name: nupkg
5151
path: ${{ env.PackageOutputPath }}/*.nupkg

.gitignore

Lines changed: 184 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
## Ignore Visual Studio temporary files, build results, and
22
## files generated by popular Visual Studio add-ons.
3+
##
4+
## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore
35

46
# User-specific files
7+
*.rsuser
58
*.suo
69
*.user
710
*.userosscache
@@ -10,48 +13,72 @@
1013
# User-specific files (MonoDevelop/Xamarin Studio)
1114
*.userprefs
1215

16+
# Mono auto generated files
17+
mono_crash.*
18+
1319
# Build results
1420
[Dd]ebug/
1521
[Dd]ebugPublic/
1622
[Rr]elease/
1723
[Rr]eleases/
18-
[Xx]64/
19-
[Xx]86/
20-
[Bb]uild/
24+
x64/
25+
x86/
26+
[Ww][Ii][Nn]32/
27+
[Aa][Rr][Mm]/
28+
[Aa][Rr][Mm]64/
2129
bld/
2230
[Bb]in/
2331
[Oo]bj/
32+
[Ll]og/
33+
[Ll]ogs/
2434

25-
# Visual Studio 2015 cache/options directory
35+
# Visual Studio 2015/2017 cache/options directory
2636
.vs/
2737
# Uncomment if you have tasks that create the project's static files in wwwroot
2838
#wwwroot/
2939

40+
# Visual Studio 2017 auto generated files
41+
Generated\ Files/
42+
3043
# MSTest test Results
3144
[Tt]est[Rr]esult*/
3245
[Bb]uild[Ll]og.*
3346

34-
# NUNIT
47+
# NUnit
3548
*.VisualState.xml
3649
TestResult.xml
50+
nunit-*.xml
3751

3852
# Build Results of an ATL Project
3953
[Dd]ebugPS/
4054
[Rr]eleasePS/
4155
dlldata.c
4256

43-
# DNX
57+
# Benchmark Results
58+
BenchmarkDotNet.Artifacts/
59+
60+
# .NET Core
4461
project.lock.json
62+
project.fragment.lock.json
4563
artifacts/
4664

65+
# ASP.NET Scaffolding
66+
ScaffoldingReadMe.txt
67+
68+
# StyleCop
69+
StyleCopReport.xml
70+
71+
# Files built by Visual Studio
4772
*_i.c
4873
*_p.c
49-
*_i.h
74+
*_h.h
5075
*.ilk
5176
*.meta
5277
*.obj
78+
*.iobj
5379
*.pch
5480
*.pdb
81+
*.ipdb
5582
*.pgc
5683
*.pgd
5784
*.rsp
@@ -61,7 +88,9 @@ artifacts/
6188
*.tlh
6289
*.tmp
6390
*.tmp_proj
91+
*_wpftmp.csproj
6492
*.log
93+
*.tlog
6594
*.vspscc
6695
*.vssscc
6796
.builds
@@ -81,13 +110,17 @@ ipch/
81110
*.sdf
82111
*.cachefile
83112
*.VC.db
113+
*.VC.VC.opendb
84114

85115
# Visual Studio profiler
86116
*.psess
87117
*.vsp
88118
*.vspx
89119
*.sap
90120

121+
# Visual Studio Trace Files
122+
*.e2e
123+
91124
# TFS 2012 Local Workspace
92125
$tf/
93126

@@ -99,15 +132,25 @@ _ReSharper*/
99132
*.[Rr]e[Ss]harper
100133
*.DotSettings.user
101134

102-
# JustCode is a .NET coding add-in
103-
.JustCode
104-
105135
# TeamCity is a build add-in
106136
_TeamCity*
107137

108138
# DotCover is a Code Coverage Tool
109139
*.dotCover
110140

141+
# AxoCover is a Code Coverage Tool
142+
.axoCover/*
143+
!.axoCover/settings.json
144+
145+
# Coverlet is a free, cross platform Code Coverage Tool
146+
coverage*.json
147+
coverage*.xml
148+
coverage*.info
149+
150+
# Visual Studio code coverage results
151+
*.coverage
152+
*.coveragexml
153+
111154
# NCrunch
112155
_NCrunch_*
113156
.*crunch*.local.xml
@@ -139,22 +182,25 @@ publish/
139182
# Publish Web Output
140183
*.[Pp]ublish.xml
141184
*.azurePubxml
142-
143-
# TODO: Un-comment the next line if you do not want to checkin
144-
# your web deploy settings because they may include unencrypted
145-
# passwords
146-
#*.pubxml
185+
# Note: Comment the next line if you want to checkin your web deploy settings,
186+
# but database connection strings (with potential passwords) will be unencrypted
187+
*.pubxml
147188
*.publishproj
148189

149-
# NuGet Packages
150-
*.nupkg
190+
# Microsoft Azure Web App publish settings. Comment the next line if you want to
191+
# checkin your Azure Web App publish settings, but sensitive information contained
192+
# in these scripts will be unencrypted
193+
PublishScripts/
194+
195+
# NuGet Symbol Packages
196+
*.snupkg
151197
# The packages folder can be ignored because of Package Restore
152-
**/packages/*
198+
**/[Pp]ackages/*
153199
# except build/, which is used as an MSBuild target.
154-
!**/packages/build/
200+
!**/[Pp]ackages/build/
155201
# Uncomment if necessary however generally it will be regenerated when needed
156-
#!**/packages/repositories.config
157-
# NuGet v3's project.json files produces more ignoreable files
202+
#!**/[Pp]ackages/repositories.config
203+
# NuGet v3's project.json files produces more ignorable files
158204
*.nuget.props
159205
*.nuget.targets
160206

@@ -166,31 +212,40 @@ csx/
166212
ecf/
167213
rcf/
168214

169-
# Microsoft Azure ApplicationInsights config file
170-
ApplicationInsights.config
171-
172-
# Windows Store app package directory
215+
# Windows Store app package directories and files
173216
AppPackages/
174217
BundleArtifacts/
218+
Package.StoreAssociation.xml
219+
_pkginfo.txt
220+
*.appx
221+
*.appxbundle
222+
*.appxupload
175223

176224
# Visual Studio cache files
177225
# files ending in .cache can be ignored
178226
*.[Cc]ache
179227
# but keep track of directories ending in .cache
180-
!*.[Cc]ache/
228+
!?*.[Cc]ache/
181229

182230
# Others
183231
ClientBin/
184-
[Ss]tyle[Cc]op.*
185232
~$*
186233
*~
187234
*.dbmdl
188235
*.dbproj.schemaview
236+
*.jfm
189237
*.pfx
190238
*.publishsettings
191-
node_modules/
192239
orleans.codegen.cs
193240

241+
# Including strong name files can present a security risk
242+
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
243+
#*.snk
244+
245+
# Since there are multiple workflows, uncomment next line to ignore bower_components
246+
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
247+
#bower_components/
248+
194249
# RIA/Silverlight projects
195250
Generated_Code/
196251

@@ -201,15 +256,22 @@ _UpgradeReport_Files/
201256
Backup*/
202257
UpgradeLog*.XML
203258
UpgradeLog*.htm
259+
ServiceFabricBackup/
260+
*.rptproj.bak
204261

205262
# SQL Server files
206263
*.mdf
207264
*.ldf
265+
*.ndf
208266

209267
# Business Intelligence projects
210268
*.rdl.data
211269
*.bim.layout
212270
*.bim_*.settings
271+
*.rptproj.rsuser
272+
*- [Bb]ackup.rdl
273+
*- [Bb]ackup ([0-9]).rdl
274+
*- [Bb]ackup ([0-9][0-9]).rdl
213275

214276
# Microsoft Fakes
215277
FakesAssemblies/
@@ -219,13 +281,28 @@ FakesAssemblies/
219281

220282
# Node.js Tools for Visual Studio
221283
.ntvs_analysis.dat
284+
node_modules/
222285

223286
# Visual Studio 6 build log
224287
*.plg
225288

226289
# Visual Studio 6 workspace options file
227290
*.opt
228291

292+
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
293+
*.vbw
294+
295+
# Visual Studio 6 auto-generated project file (contains which files were open etc.)
296+
*.vbp
297+
298+
# Visual Studio 6 workspace and project file (working project files containing files to include in project)
299+
*.dsw
300+
*.dsp
301+
302+
# Visual Studio 6 technical files
303+
*.ncb
304+
*.aps
305+
229306
# Visual Studio LightSwitch build output
230307
**/*.HTMLClient/GeneratedArtifacts
231308
**/*.DesktopClient/GeneratedArtifacts
@@ -234,12 +311,86 @@ FakesAssemblies/
234311
**/*.Server/ModelManifest.xml
235312
_Pvt_Extensions
236313

237-
# LightSwitch generated files
238-
GeneratedArtifacts/
239-
ModelManifest.xml
240-
241314
# Paket dependency manager
242315
.paket/paket.exe
316+
paket-files/
243317

244318
# FAKE - F# Make
245-
.fake/
319+
.fake/
320+
321+
# CodeRush personal settings
322+
.cr/personal
323+
324+
# Python Tools for Visual Studio (PTVS)
325+
__pycache__/
326+
*.pyc
327+
328+
# Cake - Uncomment if you are using it
329+
# tools/**
330+
# !tools/packages.config
331+
332+
# Tabs Studio
333+
*.tss
334+
335+
# Telerik's JustMock configuration file
336+
*.jmconfig
337+
338+
# BizTalk build output
339+
*.btp.cs
340+
*.btm.cs
341+
*.odx.cs
342+
*.xsd.cs
343+
344+
# OpenCover UI analysis results
345+
OpenCover/
346+
347+
# Azure Stream Analytics local run output
348+
ASALocalRun/
349+
350+
# MSBuild Binary and Structured Log
351+
*.binlog
352+
353+
# NVidia Nsight GPU debugger configuration file
354+
*.nvuser
355+
356+
# MFractors (Xamarin productivity tool) working folder
357+
.mfractor/
358+
359+
# Local History for Visual Studio
360+
.localhistory/
361+
362+
# Visual Studio History (VSHistory) files
363+
.vshistory/
364+
365+
# BeatPulse healthcheck temp database
366+
healthchecksdb
367+
368+
# Backup folder for Package Reference Convert tool in Visual Studio 2017
369+
MigrationBackup/
370+
371+
# Ionide (cross platform F# VS Code tools) working folder
372+
.ionide/
373+
374+
# Fody - auto-generated XML schema
375+
FodyWeavers.xsd
376+
377+
# VS Code files for those working on multiple tools
378+
.vscode/*
379+
!.vscode/settings.json
380+
!.vscode/tasks.json
381+
!.vscode/launch.json
382+
!.vscode/extensions.json
383+
*.code-workspace
384+
385+
# Local History for Visual Studio Code
386+
.history/
387+
388+
# Windows Installer files from build outputs
389+
*.cab
390+
*.msi
391+
*.msix
392+
*.msm
393+
*.msp
394+
395+
# JetBrains Rider
396+
*.sln.iml

0 commit comments

Comments
 (0)