diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml
index 45aa388..2e811c3 100644
--- a/.github/workflows/dotnet.yml
+++ b/.github/workflows/dotnet.yml
@@ -14,8 +14,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v3
- - uses: actions/setup-dotnet@v3
+ - uses: actions/checkout@v4
+ - uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
@@ -30,13 +30,24 @@ jobs:
- name: Test
run: dotnet test -c Release --no-restore --no-build --verbosity minimal
+ - name: Inspect
+ uses: JetBrains/ReSharper-InspectCode@v0.3
+ with:
+ tool-version: 2023.3.4
+ solution: Remora.Commands.sln
+ build: false
+ no-build: true
+ telemetry-optout: true
+
- name: Package
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
run: dotnet pack -c Release --no-restore --no-build --version-suffix "github$GITHUB_RUN_ID"
- - uses: actions/upload-artifact@v3
+ - uses: actions/upload-artifact@v4
with:
name: nupkg
path: nuget/*
+ permissions:
+ security-events: write
prerelease:
needs: build
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
@@ -44,15 +55,17 @@ jobs:
steps:
- name: Download package artifacts
- uses: actions/download-artifact@v3
+ uses: actions/download-artifact@v4
with:
name: nupkg
path: nuget
# To ensure that the current version being pushed does not get pruned we prune first.
- name: Prune packages older than 4 versions (new version is the 5th)
- uses: smartsquaregmbh/delete-old-packages@v0.4.0
+ uses: smartsquaregmbh/delete-old-packages@v0.8.0
with:
+ organization: Remora
+ type: nuget
keep: 4
names: |
Remora.Commands
diff --git a/.idea/.idea.Remora.Commands/.idea/inspectionProfiles/Project_Default.xml b/.idea/.idea.Remora.Commands/.idea/inspectionProfiles/Project_Default.xml
new file mode 100644
index 0000000..5064a65
--- /dev/null
+++ b/.idea/.idea.Remora.Commands/.idea/inspectionProfiles/Project_Default.xml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Remora.Commands.sln.DotSettings b/Remora.Commands.sln.DotSettings
index 964b4b5..12f63fb 100644
--- a/Remora.Commands.sln.DotSettings
+++ b/Remora.Commands.sln.DotSettings
@@ -1,8 +1,142 @@
+ True
+ WARNING
+ DO_NOT_SHOW
+ DO_NOT_SHOW
+ WARNING
+ ERROR
+ WARNING
+ WARNING
+ WARNING
+ HINT
+ WARNING
+ WARNING
+ DO_NOT_SHOW
+ DO_NOT_SHOW
+ SUGGESTION
+ WARNING
+ SUGGESTION
+ WARNING
+ WARNING
+ WARNING
+ ERROR
+ HINT
+ WARNING
+ HINT
+ SUGGESTION
+ True
+ True
+ WARNING
+ False
+ True
+ Required
+ Required
+ Required
+ Required
+ False
+ Remove
+ Property, Event
+ 0
+ 0
+ USUAL_INDENT
+ USUAL_INDENT
+ False
+ True
+ True
+ EXPANDED
+ False
+ ALWAYS
+ ALWAYS
+ NEVER
+ True
+ True
+ True
+ CHOP_IF_LONG
+ CHOP_IF_LONG
+ True
+ True
+ True
+ True
+ True
+ CHOP_IF_LONG
+ CHOP_IF_LONG
+ CHOP_IF_LONG
+ CHOP_IF_LONG
+ CHOP_IF_LONG
+ False
+ False
+ True
+ True
+ True
+ Replace
+ False
+ False
+ True
+ True
+ False
+ False
+ True
+ False
+ False
+ True
+ True
+ True
+ True
+ ABC
+ AID
+ API
+ APNG
+ BID
+ BLS
+ BTH
+ CDN
+ DND
+ DTO
+ GDKGL
+ GIF
+ GTKGL
+ ID
+ IO
+ ISO
+ JPG
+ MDX
+ MPB
+ NEST
+ OS
+ PICS
+ PNG
+ REM
+ SKUID
+ UI
+ UR
+ URL
+ VR
+ XY
+ XZ
+ YZ
+ False
+ <Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" />
+ <Policy Inspect="True" Prefix="_" Suffix="" Style="aaBb" />
+ <Policy Inspect="True" Prefix="_" Suffix="" Style="aaBb" />
+ <Policy Inspect="True" Prefix="_" Suffix="" Style="aaBb" />
+ <Policy Inspect="True" Prefix="_" Suffix="" Style="aaBb" />
+ <Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" />
+ <Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" />
+ True
True
+ True
True
+ True
+ True
+ True
+ True
True
True
+ True
+ True
True
True
+ True
+ True
+ True
True
\ No newline at end of file