Skip to content

Commit

Permalink
Update u8g2 (#18)
Browse files Browse the repository at this point in the history
* Add msrv
* Add semver check
* Add msrv check

* Update fonts file

* Bump version to 0.4.0, because fonts got removed
  • Loading branch information
Finomnis authored Nov 12, 2023
1 parent 1240eac commit 71c6c92
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 23 deletions.
36 changes: 35 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,38 @@ jobs:
- name: Regenerate and check
run: ./regenerate_fonts_file.sh --check --hide-progress

msrv:
name: Minimum Supported Rust Version
runs-on: ubuntu-latest
env:
RUSTFLAGS: "-D warnings"
steps:
- name: Checkout sources
uses: actions/checkout@v3

- name: Install cargo-binstall
uses: taiki-e/install-action@v2
with:
tool: cargo-binstall

- name: Install cargo-msrv
run: cargo binstall --version 0.16.0-beta.17 --no-confirm cargo-msrv

#- uses: Swatinem/rust-cache@v1

- name: Check MSRV
#run: cargo msrv --log-target=stdout
run: cargo msrv verify --log-target=stdout

semver:
name: semver
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Check semver
uses: obi1kenobi/cargo-semver-checks-action@v2

release:
name: Publish version
runs-on: ubuntu-latest
Expand All @@ -232,7 +264,9 @@ jobs:
lints,
docs,
leaks,
check_fonts
check_fonts,
msrv,
semver
]
steps:
- name: Checkout sources
Expand Down
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[package]
name = "u8g2-fonts"
version = "0.3.0"
version = "0.4.0"
edition = "2021"
rust-version = "1.62"
license-file = "LICENSE"
readme = "README.md"
repository = "https://github.com/Finomnis/u8g2-fonts"
Expand Down
Loading

0 comments on commit 71c6c92

Please sign in to comment.