Skip to content

Commit af3367a

Browse files
committed
Update to use merged mainline actions, use checkout@v3 instead of checkout@v2 on all jobs
1 parent c73a4af commit af3367a

File tree

6 files changed

+19
-20
lines changed

6 files changed

+19
-20
lines changed

.github/workflows/auto-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ jobs:
3131

3232
# Currently FreeRTOS/.github/scripts houses the release script. Download it for upcoming usage
3333
- name: Checkout FreeRTOS Release Tools
34-
uses: actions/checkout@v2
34+
uses: actions/checkout@v3
3535
with:
3636
repository: FreeRTOS/FreeRTOS
3737
path: tools
3838

3939
# Simpler git auth if we use checkout action and forward the repo to release script
4040
- name: Checkout FreeRTOS Kernel
41-
uses: actions/checkout@v2
41+
uses: actions/checkout@v3
4242
with:
4343
path: local_kernel
4444
fetch-depth: 0

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v3
1313
- name: Check Formatting of FreeRTOS-Kernel Files
14-
if: success() || failure()
1514
uses: FreeRTOS/CI-CD-Github-Actions/formatting@main
1615

1716
spell-check:
@@ -20,7 +19,7 @@ jobs:
2019
- name: Clone This Repo
2120
uses: actions/checkout@v3
2221
- name: Run spellings check
23-
uses: FreeRTOS/CI-CD-GitHub-Actions/spellings@v2
22+
uses: FreeRTOS/CI-CD-Github-Actions/spellings@main
2423
with:
2524
path: ./
2625
exclude-files: History.txt

.github/workflows/git-secrets.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ jobs:
77
git-secrets:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v2
10+
- uses: actions/checkout@v3
1111
with:
1212
submodules: recursive
1313
- name: Checkout awslabs/git-secrets
14-
uses: actions/checkout@v2
14+
uses: actions/checkout@v3
1515
with:
1616
repository: awslabs/git-secrets
1717
ref: master

.github/workflows/kernel-checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ jobs:
1818

1919
# There is shared code, hosted by FreeRTOS/FreeRTOS, with deps needed by header checker
2020
- name: Checkout FreeRTOS Tools
21-
uses: actions/checkout@v2
21+
uses: actions/checkout@v3
2222
with:
2323
repository: FreeRTOS/FreeRTOS
2424
ref: main
2525
path: tools
2626

2727
# Checkout user pull request changes
2828
- name: Checkout Pull Request
29-
uses: actions/checkout@v2
29+
uses: actions/checkout@v3
3030
with:
3131
path: inspect
3232

.github/workflows/kernel-demos.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: windows-latest
88
steps:
99
- name: Checkout the FreeRTOS/FreeRTOS Repository
10-
uses: actions/checkout@v2
10+
uses: actions/checkout@v3
1111
with:
1212
ref: main
1313
repository: FreeRTOS/FreeRTOS
@@ -16,7 +16,7 @@ jobs:
1616

1717
# Checkout user pull request changes
1818
- name: Checkout Pull Request
19-
uses: actions/checkout@v2
19+
uses: actions/checkout@v3
2020
with:
2121
path: ./FreeRTOS/Source
2222

@@ -36,7 +36,7 @@ jobs:
3636
runs-on: windows-latest
3737
steps:
3838
- name: Checkout the FreeRTOS/FreeRTOS Repository
39-
uses: actions/checkout@v2
39+
uses: actions/checkout@v3
4040
with:
4141
ref: main
4242
repository: FreeRTOS/FreeRTOS
@@ -45,7 +45,7 @@ jobs:
4545

4646
# Checkout user pull request changes
4747
- name: Checkout Pull Request
48-
uses: actions/checkout@v2
48+
uses: actions/checkout@v3
4949
with:
5050
path: ./FreeRTOS/Source
5151

@@ -61,7 +61,7 @@ jobs:
6161
runs-on: ubuntu-latest
6262
steps:
6363
- name: Checkout the FreeRTOS/FreeRTOS Repository
64-
uses: actions/checkout@v2
64+
uses: actions/checkout@v3
6565
with:
6666
ref: main
6767
repository: FreeRTOS/FreeRTOS
@@ -70,7 +70,7 @@ jobs:
7070

7171
# Checkout user pull request changes
7272
- name: Checkout Pull Request
73-
uses: actions/checkout@v2
73+
uses: actions/checkout@v3
7474
with:
7575
path: ./FreeRTOS/Source
7676

@@ -95,7 +95,7 @@ jobs:
9595
runs-on: ubuntu-latest
9696
steps:
9797
- name: Checkout the FreeRTOS/FreeRTOS Repository
98-
uses: actions/checkout@v2
98+
uses: actions/checkout@v3
9999
with:
100100
ref: main
101101
repository: FreeRTOS/FreeRTOS
@@ -104,7 +104,7 @@ jobs:
104104

105105
# Checkout user pull request changes
106106
- name: Checkout Pull Request
107-
uses: actions/checkout@v2
107+
uses: actions/checkout@v3
108108
with:
109109
path: ./FreeRTOS/Source
110110

@@ -124,7 +124,7 @@ jobs:
124124
runs-on: ubuntu-latest
125125
steps:
126126
- name: Checkout the FreeRTOS/FreeRTOS Repository
127-
uses: actions/checkout@v2
127+
uses: actions/checkout@v3
128128
with:
129129
ref: main
130130
repository: FreeRTOS/FreeRTOS
@@ -146,7 +146,7 @@ jobs:
146146
147147
# Checkout user pull request changes
148148
- name: Checkout Pull Request
149-
uses: actions/checkout@v2
149+
uses: actions/checkout@v3
150150
with:
151151
path: ./FreeRTOS/Source
152152

.github/workflows/unit-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
runs-on: ubuntu-20.04
77
steps:
88
- name: Checkout Parent Repository
9-
uses: actions/checkout@v2
9+
uses: actions/checkout@v3
1010
with:
1111
ref: main
1212
repository: FreeRTOS/FreeRTOS
@@ -15,7 +15,7 @@ jobs:
1515

1616
# Checkout user pull request changes
1717
- name: Checkout Pull Request
18-
uses: actions/checkout@v2
18+
uses: actions/checkout@v3
1919
with:
2020
path: ./FreeRTOS/Source
2121

0 commit comments

Comments
 (0)