Skip to content

Commit 4cef723

Browse files
committed
Migrate Actions to their default branch version.
Signed-off-by: AraHaan <seandhunt_7@yahoo.com>
1 parent 3a7195b commit 4cef723

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

.github/workflows/codacy-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
steps:
2222
# Checkout the repository to the GitHub Actions runner
2323
- name: Checkout code
24-
uses: actions/checkout@v2
24+
uses: actions/checkout@main
2525

2626
- name: .NET core build
27-
uses: actions/setup-dotnet@v1
27+
uses: actions/setup-dotnet@main
2828
with:
2929
dotnet-version: 6.0.100-preview.3.21202.5
3030

@@ -44,7 +44,7 @@ jobs:
4444

4545
# Execute Codacy Analysis CLI and generate a SARIF output with the security issues identified during the analysis
4646
- name: Run Codacy Analysis CLI
47-
uses: codacy/codacy-analysis-cli-action@3.0.1
47+
uses: codacy/codacy-analysis-cli-action@master
4848
with:
4949
api-token: ${{ secrets.CODACY_API_TOKEN }}
5050
verbose: true
@@ -58,6 +58,6 @@ jobs:
5858

5959
# Upload the SARIF file generated in the previous step
6060
- name: Upload SARIF results file
61-
uses: github/codeql-action/upload-sarif@v1
61+
uses: github/codeql-action/upload-sarif@main
6262
with:
6363
sarif_file: results.sarif

.github/workflows/dotnetcore-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
DOTNET_CLI_TELEMETRY_OPTOUT: true
1313
DOTNET_NOLOGO: true
1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@main
1616
- name: .NET core build
17-
uses: actions/setup-dotnet@v1
17+
uses: actions/setup-dotnet@main
1818
with:
1919
dotnet-version: 6.0.100-preview.3.21202.5
2020

.github/workflows/dotnetcore-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
DOTNET_CLI_TELEMETRY_OPTOUT: true
1414
DOTNET_NOLOGO: true
1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@main
1717
- name: .NET core build
18-
uses: actions/setup-dotnet@v1
18+
uses: actions/setup-dotnet@main
1919
with:
2020
dotnet-version: 6.0.100-preview.3.21202.5
2121

@@ -35,7 +35,7 @@ jobs:
3535

3636
- name: Publish Release
3737
id: publish_nuget
38-
uses: rohith/publish-nuget@v2
38+
uses: brandedoutcast/publish-nuget@master
3939
with:
4040
# Filepath of the project to be packaged, relative to root of repository
4141
PROJECT_FILE_PATH: src/GitBuildInfo.SourceGenerator/GitBuildInfo.SourceGenerator.csproj

.github/workflows/dotnetcore.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ jobs:
1010
DOTNET_CLI_TELEMETRY_OPTOUT: true
1111
DOTNET_NOLOGO: true
1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@main
1414
- name: .NET core build
15-
uses: actions/setup-dotnet@v1
15+
uses: actions/setup-dotnet@main
1616
with:
1717
dotnet-version: 6.0.100-preview.3.21202.5
1818

0 commit comments

Comments
 (0)