Skip to content

Commit 5114ae5

Browse files
authored
Merge branch 'master' into master
2 parents dff7df2 + 6875394 commit 5114ae5

File tree

5 files changed

+21
-31
lines changed

5 files changed

+21
-31
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ on:
22
pull_request: # Run CI for PRs on any branch
33
merge_group: # Run CI for the GitHub merge queue
44
workflow_dispatch: # Run CI when manually requested
5+
schedule:
6+
# Run every week at 8am UTC Saturday
7+
- cron: '0 8 * * SAT'
58

69
name: Continuous integration
710

@@ -27,6 +30,18 @@ jobs:
2730
- run: cargo check --target=${{ matrix.target }} --example global_alloc
2831
- if: ${{ matrix.toolchain == 'nightly' }}
2932
run: cargo check --target=${{ matrix.target }} --examples --all-features
33+
- uses: imjohnbo/issue-bot@v3
34+
if: |
35+
failure()
36+
&& github.event_name == 'schedule'
37+
with:
38+
title: CI Failure
39+
labels: ci
40+
body: |
41+
Scheduled CI run failed. Details:
42+
https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
43+
env:
44+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3045

3146
test:
3247
runs-on: ubuntu-latest

.github/workflows/cron.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

8-
## [Unreleased]
8+
## [v0.5.1] - 2023-11-04
99

1010
### Added
1111

@@ -120,7 +120,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
120120

121121
- Initial version of the allocator
122122

123-
[Unreleased]: https://github.com/rust-embedded/embedded-alloc/compare/v0.5.0...HEAD
123+
[Unreleased]: https://github.com/rust-embedded/embedded-alloc/compare/v0.5.1...HEAD
124+
[v0.5.1]: https://github.com/rust-embedded/embedded-alloc/compare/v0.5.0...v0.5.1
124125
[v0.5.0]: https://github.com/rust-embedded/embedded-alloc/compare/v0.4.3...v0.5.0
125126
[v0.4.3]: https://github.com/rust-embedded/embedded-alloc/compare/v0.4.2...v0.4.3
126127
[v0.4.2]: https://github.com/rust-embedded/embedded-alloc/compare/v0.4.1...v0.4.2

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ keywords = [
2121
]
2222
license = "MIT OR Apache-2.0"
2323
name = "embedded-alloc"
24-
version = "0.5.0"
24+
version = "0.5.1"
2525

2626
[features]
2727
default = ["llff", "tlsf"]

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ mod llff {
2323
}
2424

2525
impl Heap {
26-
/// Crate a new UNINITIALIZED heap allocator
26+
/// Create a new UNINITIALIZED heap allocator
2727
///
2828
/// You must initialize this heap using the
2929
/// [`init`](Self::init) method before using the allocator.
@@ -147,7 +147,7 @@ mod tlsf {
147147
}
148148

149149
impl Heap {
150-
/// Crate a new UNINITIALIZED heap allocator
150+
/// Create a new UNINITIALIZED heap allocator
151151
///
152152
/// You must initialize this heap using the
153153
/// [`init`](Self::init) method before using the allocator.

0 commit comments

Comments
 (0)