Skip to content

Commit d04be3c

Browse files
committed
Update resharper inspections and github workflows.
1 parent 4f2e8d6 commit d04be3c

File tree

3 files changed

+176
-6
lines changed

3 files changed

+176
-6
lines changed

.github/workflows/dotnet.yml

+18-5
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v3
18-
- uses: actions/setup-dotnet@v3
17+
- uses: actions/checkout@v4
18+
- uses: actions/setup-dotnet@v4
1919
with:
2020
dotnet-version: |
2121
6.0.x
@@ -30,29 +30,42 @@ jobs:
3030
- name: Test
3131
run: dotnet test -c Release --no-restore --no-build --verbosity minimal
3232

33+
- name: Inspect
34+
uses: JetBrains/[email protected]
35+
with:
36+
tool-version: 2023.3.4
37+
solution: Remora.Plugins.sln
38+
build: false
39+
no-build: true
40+
telemetry-optout: true
41+
3342
- name: Package
3443
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
3544
run: dotnet pack -c Release --no-restore --no-build --version-suffix "github$GITHUB_RUN_ID"
36-
- uses: actions/upload-artifact@v3
45+
- uses: actions/upload-artifact@v4
3746
with:
3847
name: nupkg
3948
path: nuget/*
49+
permissions:
50+
security-events: write
4051
prerelease:
4152
needs: build
4253
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
4354
runs-on: ubuntu-latest
4455

4556
steps:
4657
- name: Download package artifacts
47-
uses: actions/download-artifact@v3
58+
uses: actions/download-artifact@v4
4859
with:
4960
name: nupkg
5061
path: nuget
5162

5263
# To ensure that the current version being pushed does not get pruned we prune first.
5364
- name: Prune packages older than 4 versions (new version is the 5th)
54-
uses: smartsquaregmbh/delete-old-packages@v0.4.0
65+
uses: smartsquaregmbh/delete-old-packages@v0.8.0
5566
with:
67+
organization: Remora
68+
type: nuget
5669
keep: 4
5770
names: |
5871
Remora.Plugins

.idea/.idea.Remora.Plugins/.idea/inspectionProfiles/Project_Default.xml

+14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)