diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml
index d8469d1..653243e 100644
--- a/.github/workflows/dotnet.yml
+++ b/.github/workflows/dotnet.yml
@@ -14,29 +14,40 @@ jobs:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v3
- - uses: actions/setup-dotnet@v3
- with:
- dotnet-version: |
- 6.0.x
- 7.0.x
- 8.0.x
+ - uses: actions/checkout@v4
+ - uses: actions/setup-dotnet@v4
+ with:
+ dotnet-version: |
+ 6.0.x
+ 7.0.x
+ 8.0.x
+
+ - name: Build
+ run: |
+ dotnet restore
+ dotnet build -c Release --no-restore
- - name: Build
- run: |
- dotnet restore
- dotnet build -c Release --no-restore
+ - name: Test
+ run: dotnet test -c Release --no-restore --no-build --verbosity minimal
- - 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.OAuth2.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
- with:
- name: nupkg
- path: nuget/*
+ - 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@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.OAuth2.Abstractions
diff --git a/.idea/.idea.Remora.OAuth2/.idea/inspectionProfiles/Project_Default.xml b/.idea/.idea.Remora.OAuth2/.idea/inspectionProfiles/Project_Default.xml
new file mode 100644
index 0000000..5064a65
--- /dev/null
+++ b/.idea/.idea.Remora.OAuth2/.idea/inspectionProfiles/Project_Default.xml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Remora.OAuth2.sln.DotSettings b/Remora.OAuth2.sln.DotSettings
index 86c08e6..cc1f393 100644
--- a/Remora.OAuth2.sln.DotSettings
+++ b/Remora.OAuth2.sln.DotSettings
@@ -1,5 +1,146 @@
+ 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
\ No newline at end of file
+ True
+ True
+ True
+ True
+ True
+ True
+ True
+ True
\ No newline at end of file