Skip to content

Commit 68d03a6

Browse files
committed
ci: Use checkout@v1 action
The checkout@v2 action currently has a bug that makes it sometimes check out the wrong commit. Since we can't have that we'll use v1 for now, until that is fixed.
1 parent d4d93d1 commit 68d03a6

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Note: The checkout@v2 action sometimes checks out the wrong commit:
2+
# https://github.com/actions/checkout/issues/237
3+
# Until that is fixed we use checkout@v1 here instead.
4+
15
name: CI
26

37
on:
@@ -35,7 +39,7 @@ jobs:
3539
- mcu: stm32f303xc
3640
features: rt,stm32-usbd
3741
steps:
38-
- uses: actions/checkout@v2
42+
- uses: actions/checkout@v1
3943
- uses: actions-rs/toolchain@v1
4044
with:
4145
toolchain: stable
@@ -51,7 +55,7 @@ jobs:
5155
name: Clippy
5256
runs-on: ubuntu-latest
5357
steps:
54-
- uses: actions/checkout@v2
58+
- uses: actions/checkout@v1
5559
- uses: actions-rs/toolchain@v1
5660
with:
5761
toolchain: nightly
@@ -70,7 +74,7 @@ jobs:
7074
name: Rustfmt
7175
runs-on: ubuntu-latest
7276
steps:
73-
- uses: actions/checkout@v2
77+
- uses: actions/checkout@v1
7478
- uses: actions-rs/toolchain@v1
7579
with:
7680
toolchain: stable

0 commit comments

Comments
 (0)