Skip to content

Commit 7241225

Browse files
authored
Merge pull request #468 from stm32-rs/checkout3
checkout3
2 parents 7dced36 + a3e3629 commit 7241225

File tree

6 files changed

+20
-5
lines changed

6 files changed

+20
-5
lines changed

.github/workflows/changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout sources
12-
uses: actions/checkout@v2
12+
uses: actions/checkout@v3
1313

1414
- name: Changelog updated
1515
uses: Zomzog/[email protected]

.github/workflows/ci.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,20 @@ jobs:
3636
experimental: true
3737

3838
steps:
39-
- uses: actions/checkout@v2
39+
- uses: actions/checkout@v3
40+
4041
- uses: actions-rs/toolchain@v1
4142
with:
4243
profile: minimal
4344
toolchain: ${{ matrix.rust }}
4445
target: thumbv7em-none-eabihf
4546
override: true
47+
48+
- name: Cache Dependencies
49+
uses: Swatinem/rust-cache@v1
50+
with:
51+
key: pac-v0.14-${{ matrix.mcu }}
52+
4653
- uses: actions-rs/cargo@v1
4754
with:
4855
command: check

.github/workflows/clippy.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,21 @@ jobs:
88
clippy_check:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
11+
- uses: actions/checkout@v3
12+
1213
- uses: actions-rs/toolchain@v1
1314
with:
1415
profile: minimal
1516
toolchain: stable
1617
target: thumbv7em-none-eabihf
1718
override: true
1819
components: clippy
20+
21+
- name: Cache Dependencies
22+
uses: Swatinem/rust-cache@v1
23+
with:
24+
key: pac-v0.14
25+
1926
- uses: actions-rs/clippy-check@v1
2027
with:
2128
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/rustfmt.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
name: Rustfmt
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v3
1414
- uses: actions-rs/toolchain@v1
1515
with:
1616
profile: minimal

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
99

1010
### Changed
1111

12+
- CI updates + cache
1213
- Move pin mode at the end of generics, add defaults for modes,
1314
bump MSRV to 1.59 [#418]
1415
- Move hd44780-driver to dev-dependencies

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ cortex-m-rt = "0.7"
7474
panic-halt = "0.2"
7575

7676
[dependencies.stm32f4xx-hal]
77-
version = "0.10"
77+
version = "0.12"
7878
features = ["rt", "stm32f407"] # replace the model of your microcontroller here
7979
```
8080

0 commit comments

Comments
 (0)