diff --git a/.github/workflows/codacy-analysis.yml b/.github/workflows/codacy-analysis.yml index ccb50b8..9b7e545 100644 --- a/.github/workflows/codacy-analysis.yml +++ b/.github/workflows/codacy-analysis.yml @@ -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 @@ -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 @@ -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 diff --git a/.github/workflows/dotnetcore-build.yml b/.github/workflows/dotnetcore-build.yml index 53270d8..60bd585 100644 --- a/.github/workflows/dotnetcore-build.yml +++ b/.github/workflows/dotnetcore-build.yml @@ -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 diff --git a/.github/workflows/dotnetcore-publish.yml b/.github/workflows/dotnetcore-publish.yml index bdfced6..d6fd8b2 100644 --- a/.github/workflows/dotnetcore-publish.yml +++ b/.github/workflows/dotnetcore-publish.yml @@ -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 @@ -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 diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index 96588c7..ccc7eac 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -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