Skip to content

Commit 829ee02

Browse files
Merge branch 'o2sh:main' into main
2 parents 6ceb13f + 5566d87 commit 829ee02

File tree

9 files changed

+41
-8
lines changed

9 files changed

+41
-8
lines changed

Diff for: .github/workflows/msrv-badge.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Generate MSRV Badge
2+
on:
3+
release:
4+
types: [published]
5+
workflow_dispatch:
6+
7+
jobs:
8+
make-badge:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: Get Minimum Supported Rust Version
14+
uses: spenserblack/[email protected]
15+
id: get-msrv
16+
- name: Create Badge
17+
run: curl https://img.shields.io/badge/rustc-${{ steps.get-msrv.outputs.msrv }}%2B-blue > ./assets/msrv-badge.svg
18+
- name: Commit Badge
19+
continue-on-error: true
20+
run: |
21+
git status
22+
git pull --ff-only
23+
git add ./assets/msrv-badge.svg
24+
git config user.name "github-actions[bot]"
25+
git config user.email "github-actions[bot]@users.noreply.github.com"
26+
git commit -m "Update msrv badge [Skip CI]"
27+
git push

Diff for: Cargo.lock

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ git2 = {version = "0.13.23", default-features = false}
3939
image = "0.23.14"
4040
regex = "1.4.6"
4141
serde = "1.0.130"
42-
serde_json = "1.0.68"
42+
serde_json = "1.0.70"
4343
serde_yaml = "0.8"
4444
strum = {version = "0.22.0", features = ["derive"]}
4545
term_size = "0.3.2"
@@ -56,7 +56,7 @@ libc = "0.2.103"
5656

5757
[dev-dependencies]
5858
more-asserts = "0.2"
59-
paste = "1.0.5"
59+
paste = "1.0.6"
6060

6161
[features]
6262
fail-on-deprecated = []

Diff for: README.md

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<a href="https://github.com/o2sh/onefetch/wiki/language-Support"><img src="assets/language-badge.svg"></a>
99
<a href="https://github.com/o2sh/onefetch/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22"><img src="https://img.shields.io/github/issues/o2sh/onefetch/help%20wanted?color=green" alt="help wanted"></a>
1010
<a href="./LICENSE.md"><img src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
11+
<img src="assets/msrv-badge.svg">
1112
</p>
1213

1314
<p align="center">

Diff for: assets/msrv-badge.svg

+1
Loading

Diff for: docs/README.cn.md

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<a href="https://github.com/o2sh/onefetch/wiki/language-Support"><img src="../assets/language-badge.svg"></a>
99
<a href="https://github.com/o2sh/onefetch/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22"><img src="https://img.shields.io/github/issues/o2sh/onefetch/help%20wanted?color=green" alt="help wanted"></a>
1010
<a href="./LICENSE.md"><img src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
11+
<img src="../assets/msrv-badge.svg">
1112
</p>
1213

1314
<img src="../assets/screenshot-1.png" align="right" height="240px">

Diff for: docs/README.fa.md

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<a href="https://github.com/o2sh/onefetch/wiki/language-Support"><img src="../assets/language-badge.svg"></a>
1111
<a href="https://github.com/o2sh/onefetch/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22"><img src="https://img.shields.io/github/issues/o2sh/onefetch/help%20wanted?color=green" alt="help wanted"></a>
1212
<a href="./LICENSE.md"><img src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
13+
<img src="../assets/msrv-badge.svg">
1314
</p>
1415

1516
<img src="../assets/screenshot-1.png" align="left" height="240px">

Diff for: docs/README.ja.md

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<a href="https://github.com/o2sh/onefetch/wiki/language-Support"><img src="../assets/language-badge.svg"></a>
99
<a href="https://github.com/o2sh/onefetch/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22"><img src="https://img.shields.io/github/issues/o2sh/onefetch/help%20wanted?color=green" alt="help wanted"></a>
1010
<a href="./LICENSE.md"><img src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
11+
<img src="../assets/msrv-badge.svg">
1112
</p>
1213

1314
<img src="../assets/screenshot-1.png" align="right" height="240px">

Diff for: docs/README.ru.md

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<a href="https://github.com/o2sh/onefetch/wiki/language-Support"><img src="../assets/language-badge.svg"></a>
1010
<a href="https://github.com/o2sh/onefetch/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22"><img src="https://img.shields.io/github/issues/o2sh/onefetch/help%20wanted?color=green" alt="help wanted"></a>
1111
<a href="./LICENSE.md"><img src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
12+
<img src="../assets/msrv-badge.svg">
1213
</p>
1314

1415
<img src="../assets/screenshot-1.png" align="right" height="240px">

0 commit comments

Comments
 (0)