Skip to content

Commit 3fa7fb6

Browse files
authored
Update actions version (#27)
* Update actions version * Update infersharp.yml * Update main.yml * Update release.yml
1 parent 2574d00 commit 3fa7fb6

3 files changed

Lines changed: 8 additions & 10 deletions

File tree

.github/workflows/infersharp.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,10 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Run Infer#
14-
uses: microsoft/infersharpaction@v1.2.1
14+
uses: microsoft/infersharpaction@v1.5
1515
id: runinfersharp
16-
with:
17-
binary-path: 'src/'
1816

1917
- name: Upload SARIF output to GitHub Security Center
20-
uses: github/codeql-action/upload-sarif@v1
18+
uses: github/codeql-action/upload-sarif@v2
2119
with:
22-
sarif_file: infer-out/report.sarif
20+
sarif_file: infer-out/report.sarif

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
steps:
1717

1818
- name: Checkout repo
19-
uses: actions/checkout@v2
19+
uses: actions/checkout@v4
2020

2121
- name: Check format
2222
run: dotnet format --severity error --verify-no-changes -v q
@@ -29,7 +29,7 @@ jobs:
2929

3030
# Checkout the repo
3131
- name: Checkout repo
32-
uses: actions/checkout@v2
32+
uses: actions/checkout@v4
3333

3434
# Setup .NET
3535
- name: Setup .NET ${{ env.DOTNET_VERSION }}
@@ -60,7 +60,7 @@ jobs:
6060
6161
# Upload nupkg to build artifacts
6262
- name: Upload Artifact
63-
uses: actions/upload-artifact@v2
63+
uses: actions/upload-artifact@v4
6464
with:
6565
name: ${{ env.PACKAGE_ID }}
6666
path: ${{ env.NUPKG_PATH }}

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
steps:
1919

2020
- name: Checkout repo
21-
uses: actions/checkout@v2
21+
uses: actions/checkout@v4
2222

2323
# Install tag to version
2424
- name: Install tag to version tool
@@ -55,7 +55,7 @@ jobs:
5555
5656
# Upload nupkg to build artifacts
5757
- name: Upload Artifact
58-
uses: actions/upload-artifact@v2
58+
uses: actions/upload-artifact@v4
5959
with:
6060
name: ${{ env.PACKAGE_ID }}
6161
path: ${{ env.NUPKG_PATH }}

0 commit comments

Comments
 (0)