Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate Actions to their default branch version. #15

Merged
merged 1 commit into from
May 6, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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