Skip to content

Commit

Permalink
Migrate Actions to their default branch version.
Browse files Browse the repository at this point in the history
Signed-off-by: AraHaan <[email protected]>
  • Loading branch information
AraHaan committed May 6, 2021
1 parent 3a7195b commit 4cef723
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/codacy-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
steps:
# Checkout the repository to the GitHub Actions runner
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@main

- name: .NET core build
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@main
with:
dotnet-version: 6.0.100-preview.3.21202.5

Expand All @@ -44,7 +44,7 @@ jobs:

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

# Upload the SARIF file generated in the previous step
- name: Upload SARIF results file
uses: github/codeql-action/upload-sarif@v1
uses: github/codeql-action/upload-sarif@main
with:
sarif_file: results.sarif
4 changes: 2 additions & 2 deletions .github/workflows/dotnetcore-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_NOLOGO: true
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@main
- name: .NET core build
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@main
with:
dotnet-version: 6.0.100-preview.3.21202.5

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/dotnetcore-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_NOLOGO: true
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@main
- name: .NET core build
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@main
with:
dotnet-version: 6.0.100-preview.3.21202.5

Expand All @@ -35,7 +35,7 @@ jobs:

- name: Publish Release
id: publish_nuget
uses: rohith/publish-nuget@v2
uses: brandedoutcast/publish-nuget@master
with:
# Filepath of the project to be packaged, relative to root of repository
PROJECT_FILE_PATH: src/GitBuildInfo.SourceGenerator/GitBuildInfo.SourceGenerator.csproj
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dotnetcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_NOLOGO: true
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@main
- name: .NET core build
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@main
with:
dotnet-version: 6.0.100-preview.3.21202.5

Expand Down

0 comments on commit 4cef723

Please sign in to comment.