From af3367a735562dbb7dfe6c7883a407ff975baad2 Mon Sep 17 00:00:00 2001 From: Soren Ptak Date: Tue, 5 Sep 2023 14:01:33 -0700 Subject: [PATCH] Update to use merged mainline actions, use checkout@v3 instead of checkout@v2 on all jobs --- .github/workflows/auto-release.yml | 4 ++-- .github/workflows/ci.yml | 3 +-- .github/workflows/git-secrets.yml | 4 ++-- .github/workflows/kernel-checks.yml | 4 ++-- .github/workflows/kernel-demos.yml | 20 ++++++++++---------- .github/workflows/unit-tests.yml | 4 ++-- 6 files changed, 19 insertions(+), 20 deletions(-) diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index 21788c8a653..73ec92cf026 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -31,14 +31,14 @@ jobs: # Currently FreeRTOS/.github/scripts houses the release script. Download it for upcoming usage - name: Checkout FreeRTOS Release Tools - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: repository: FreeRTOS/FreeRTOS path: tools # Simpler git auth if we use checkout action and forward the repo to release script - name: Checkout FreeRTOS Kernel - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: path: local_kernel fetch-depth: 0 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e804fae117c..46c6f7ee02e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,6 @@ jobs: steps: - uses: actions/checkout@v3 - name: Check Formatting of FreeRTOS-Kernel Files - if: success() || failure() uses: FreeRTOS/CI-CD-Github-Actions/formatting@main spell-check: @@ -20,7 +19,7 @@ jobs: - name: Clone This Repo uses: actions/checkout@v3 - name: Run spellings check - uses: FreeRTOS/CI-CD-GitHub-Actions/spellings@v2 + uses: FreeRTOS/CI-CD-Github-Actions/spellings@main with: path: ./ exclude-files: History.txt diff --git a/.github/workflows/git-secrets.yml b/.github/workflows/git-secrets.yml index b78a79c4524..2b88ce0a706 100644 --- a/.github/workflows/git-secrets.yml +++ b/.github/workflows/git-secrets.yml @@ -7,11 +7,11 @@ jobs: git-secrets: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: submodules: recursive - name: Checkout awslabs/git-secrets - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: repository: awslabs/git-secrets ref: master diff --git a/.github/workflows/kernel-checks.yml b/.github/workflows/kernel-checks.yml index a4627f0e07c..679ede23e3d 100644 --- a/.github/workflows/kernel-checks.yml +++ b/.github/workflows/kernel-checks.yml @@ -18,7 +18,7 @@ jobs: # There is shared code, hosted by FreeRTOS/FreeRTOS, with deps needed by header checker - name: Checkout FreeRTOS Tools - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: repository: FreeRTOS/FreeRTOS ref: main @@ -26,7 +26,7 @@ jobs: # Checkout user pull request changes - name: Checkout Pull Request - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: path: inspect diff --git a/.github/workflows/kernel-demos.yml b/.github/workflows/kernel-demos.yml index 79ed8ca02bd..21cbd5c8dab 100644 --- a/.github/workflows/kernel-demos.yml +++ b/.github/workflows/kernel-demos.yml @@ -7,7 +7,7 @@ jobs: runs-on: windows-latest steps: - name: Checkout the FreeRTOS/FreeRTOS Repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: ref: main repository: FreeRTOS/FreeRTOS @@ -16,7 +16,7 @@ jobs: # Checkout user pull request changes - name: Checkout Pull Request - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: path: ./FreeRTOS/Source @@ -36,7 +36,7 @@ jobs: runs-on: windows-latest steps: - name: Checkout the FreeRTOS/FreeRTOS Repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: ref: main repository: FreeRTOS/FreeRTOS @@ -45,7 +45,7 @@ jobs: # Checkout user pull request changes - name: Checkout Pull Request - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: path: ./FreeRTOS/Source @@ -61,7 +61,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout the FreeRTOS/FreeRTOS Repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: ref: main repository: FreeRTOS/FreeRTOS @@ -70,7 +70,7 @@ jobs: # Checkout user pull request changes - name: Checkout Pull Request - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: path: ./FreeRTOS/Source @@ -95,7 +95,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout the FreeRTOS/FreeRTOS Repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: ref: main repository: FreeRTOS/FreeRTOS @@ -104,7 +104,7 @@ jobs: # Checkout user pull request changes - name: Checkout Pull Request - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: path: ./FreeRTOS/Source @@ -124,7 +124,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout the FreeRTOS/FreeRTOS Repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: ref: main repository: FreeRTOS/FreeRTOS @@ -146,7 +146,7 @@ jobs: # Checkout user pull request changes - name: Checkout Pull Request - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: path: ./FreeRTOS/Source diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 73e1808fa25..c154750b4ec 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout Parent Repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: ref: main repository: FreeRTOS/FreeRTOS @@ -15,7 +15,7 @@ jobs: # Checkout user pull request changes - name: Checkout Pull Request - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: path: ./FreeRTOS/Source