-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🚧Update github checkout action (#166)
* Start work for issue #165 * ci: update all checkout actions from version v3 to v4 * ci: update reusable workflows versions * ci: remove sync status check This is pointless due to failure for every single pull request due to every pull request having version changes
- Loading branch information
1 parent
85fd3c3
commit 0595c75
Showing
12 changed files
with
28 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,7 @@ jobs: | |
add_new_item_to_project: | ||
name: Add New Issue | ||
needs: item_number | ||
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].0 | ||
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].1 | ||
with: | ||
org-name: "${{ vars.ORGANIZATION_NAME }}" | ||
org-project-name: "${{ vars.ORG_PROJECT_NAME }}" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,7 +70,7 @@ jobs: | |
resolve_proj_file_path: | ||
name: Resolving ${{ inputs.project-name }} Project File Path | ||
needs: print_validate_workflow | ||
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].0 | ||
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].1 | ||
with: | ||
project-name: ${{ inputs.project-name }} | ||
base-path: ${{ inputs.base-path }} | ||
|
@@ -81,7 +81,7 @@ jobs: | |
needs: resolve_proj_file_path | ||
runs-on: ${{ inputs.runs-on }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Setup .NET SDK ${{ inputs.net-sdk-version }} | ||
uses: actions/setup-dotnet@v3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -157,7 +157,7 @@ jobs: | |
validate_version: | ||
name: Validate Version | ||
needs: [print_validate_workflow, validate_branch] | ||
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].0 | ||
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].1 | ||
with: | ||
project-name: "${{ inputs.project-name }}" | ||
release-type: "${{ inputs.release-type }}" | ||
|
@@ -168,7 +168,7 @@ jobs: | |
validate_tag: | ||
name: Validate Tag | ||
needs: validate_version | ||
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].0 | ||
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].1 | ||
with: | ||
project-name: "${{ inputs.project-name }}" | ||
release-type: "${{ inputs.release-type }}" | ||
|
@@ -183,7 +183,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Release Notes Exist | ||
run: | | ||
|
@@ -207,7 +207,7 @@ jobs: | |
validate_github_release: | ||
name: GitHub Release Does Not Exist | ||
needs: validate_version | ||
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].0 | ||
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].1 | ||
with: | ||
project-name: "${{ inputs.project-name }}" | ||
version: "${{ needs.validate_version.outputs.version }}" | ||
|
@@ -218,7 +218,7 @@ jobs: | |
build_project: | ||
name: Build Main Project (${{ inputs.project-name }}) | ||
needs: print_validate_workflow | ||
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].0 | ||
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].1 | ||
with: | ||
project-name: "${{ inputs.project-name }}" | ||
runs-on: "${{ inputs.runs-on }}" | ||
|
@@ -229,7 +229,7 @@ jobs: | |
run_tests: | ||
name: Run Tests | ||
needs: print_validate_workflow | ||
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].0 | ||
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].1 | ||
with: | ||
project-name: "${{ inputs.project-name }}Tests" | ||
runs-on: "${{ inputs.runs-on }}" | ||
|
@@ -251,7 +251,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Get GitHub Workspace | ||
id: base-dir-path | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -182,7 +182,7 @@ jobs: | |
validate_version: | ||
name: Validate Version | ||
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].0 | ||
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].1 | ||
with: | ||
project-name: "${{ inputs.project-name }}" | ||
release-type: "${{ inputs.release-type }}" | ||
|
@@ -193,7 +193,7 @@ jobs: | |
validate_tag: | ||
name: Validate Tag | ||
needs: validate_version | ||
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].0 | ||
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].1 | ||
with: | ||
project-name: "${{ inputs.project-name }}" | ||
release-type: "${{ inputs.release-type }}" | ||
|
@@ -205,7 +205,7 @@ jobs: | |
nuget_pkg_does_not_exist: | ||
name: Validate NuGet Package Does Not Exist | ||
needs: validate_version | ||
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].0 | ||
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].1 | ||
with: | ||
project-name: "${{ inputs.project-name }}" | ||
version: "${{ needs.validate_version.outputs.version }}" | ||
|
@@ -214,7 +214,7 @@ jobs: | |
validate_milestone_status: | ||
name: Validate Milestone Status | ||
needs: validate_version | ||
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].0 | ||
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].1 | ||
with: | ||
project-name: "${{ inputs.project-name }}" | ||
version: "${{ needs.validate_version.outputs.version }}" | ||
|
@@ -225,7 +225,7 @@ jobs: | |
validate_github_release: | ||
name: GitHub Release Does Not Exist | ||
needs: [validate_version] | ||
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].0 | ||
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].1 | ||
with: | ||
project-name: "${{ inputs.project-name }}" | ||
version: "${{ needs.validate_version.outputs.version }}" | ||
|
@@ -236,7 +236,7 @@ jobs: | |
build_project: | ||
name: Build Main Project | ||
needs: print_validate_workflow | ||
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].0 | ||
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].1 | ||
with: | ||
project-name: "${{ inputs.project-name }}" | ||
runs-on: "${{ inputs.runs-on }}" | ||
|
@@ -247,7 +247,7 @@ jobs: | |
run_tests: | ||
name: Run Tests | ||
needs: print_validate_workflow | ||
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].0 | ||
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].1 | ||
with: | ||
project-name: "${{ inputs.project-name }}Tests" | ||
runs-on: "${{ inputs.runs-on }}" | ||
|
@@ -264,7 +264,7 @@ jobs: | |
validate_milestone_status, validate_github_release] | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup .NET SDK | ||
uses: actions/setup-dotnet@v3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,7 +72,7 @@ jobs: | |
resolve_proj_file_path: | ||
name: Resolving ${{ inputs.project-name }} Project File Path | ||
needs: print_validate_workflow | ||
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].0 | ||
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].1 | ||
with: | ||
project-name: ${{ inputs.project-name }} | ||
base-path: ${{ inputs.base-path }} | ||
|
@@ -83,7 +83,7 @@ jobs: | |
needs: [print_validate_workflow, resolve_proj_file_path] | ||
runs-on: ${{ inputs.runs-on }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-dotnet@v3 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ jobs: | |
initial_sync: | ||
name: Start Initial Sync | ||
if: ${{ github.event_name == 'pull_request_target' }} | ||
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].0 | ||
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].1 | ||
with: | ||
issue-or-pr-number: ${{ github.event.pull_request.number }} | ||
sync-type: initial | ||
|
@@ -30,7 +30,7 @@ jobs: | |
manual_sync: | ||
name: Start Manual Sync | ||
if: ${{ github.event_name == 'issue_comment' && contains(github.event.comment.body, '[run-sync]') }} | ||
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].0 | ||
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].1 | ||
with: | ||
issue-or-pr-number: ${{ github.event.issue.number }} | ||
sync-type: manual | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters