Skip to content

Commit 783823f

Browse files
committed
ci: prevent to use branch name
refer to latest release Signed-off-by: Frederic Pillon <[email protected]>
1 parent 2bf4e4d commit 783823f

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

Diff for: .github/workflows/Arduino-build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ jobs:
3535
steps:
3636
# First of all, clone the repo using the checkout action.
3737
- name: Checkout
38-
uses: actions/checkout@main
38+
uses: actions/checkout@latest
3939

4040
- name: Compilation
4141
id: Compile
42-
uses: stm32duino/actions/compile-examples@main
42+
uses: stm32duino/actions/compile-examples@latest
4343
with:
4444
additional-url: 'https://github.com/stm32duino/BoardManagerFiles/raw/dev/package_stmicroelectronics_index.json'
4545

Diff for: .github/workflows/Cmake.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252

5353
steps:
5454
- name: Checkout
55-
uses: actions/checkout@main
55+
uses: actions/checkout@latest
5656

5757
- name: Get latest CMake and Ninja
5858
uses: lukka/get-cmake@latest

Diff for: .github/workflows/CodeSpell.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414

1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@main
17+
uses: actions/checkout@latest
1818

1919
# See: https://github.com/codespell-project/actions-codespell/blob/master/README.md
2020
- name: Spell check
21-
uses: codespell-project/actions-codespell@master
21+
uses: codespell-project/actions-codespell@latest
2222
with:
2323
check_filenames: true
2424
check_hidden: true

Diff for: .github/workflows/MarkdwonLinksCheck.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
linkinator:
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v3
19-
- uses: JustinBeckwith/linkinator-action@v1
18+
- uses: actions/checkout@latest
19+
- uses: JustinBeckwith/linkinator-action@latest
2020
with:
2121
paths: '*.md ./CI/**/*.md, ./variants/**/*.md, ./libraries/**/*.md'
2222
verbosity: 'INFO'

Diff for: .github/workflows/arduino-lint.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313

1414
steps:
1515
- name: Checkout repository
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@latest
1717

1818
- name: Arduino Lint
19-
uses: arduino/arduino-lint-action@v1
19+
uses: arduino/arduino-lint-action@latest
2020
with:
2121
version: 1.2.0

Diff for: .github/workflows/astyle.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ jobs:
3131
steps:
3232
# First of all, clone the repo using the checkout action.
3333
- name: Checkout
34-
uses: actions/checkout@main
34+
uses: actions/checkout@latest
3535

3636
- name: Astyle check
3737
id: Astyle
38-
uses: stm32duino/actions/astyle-check@main
38+
uses: stm32duino/actions/astyle-check@latest
3939
with:
4040
astyle-definition: 'CI/astyle/.astylerc'
4141
ignore-path-list: 'CI/astyle/.astyleignore'

0 commit comments

Comments
 (0)