Skip to content

Commit 567aabd

Browse files
committed
Fix CI and README badges
1 parent f79fbde commit 567aabd

File tree

4 files changed

+30
-8
lines changed

4 files changed

+30
-8
lines changed

.github/workflows/clippy.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
name: Clippy check
22
on:
3-
- push
4-
- pull_request
3+
push:
4+
paths:
5+
- 'src/**'
6+
- '.github/**'
7+
pull_request:
8+
paths:
9+
- 'src/**'
10+
- '.github/**'
511

612
env:
713
RUSTFLAGS: "-Dwarnings"

.github/workflows/fmt.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
name: Code formatting
22

33
on:
4-
- push
5-
- pull_request
4+
push:
5+
paths:
6+
- 'src/**'
7+
- '.github/**'
8+
pull_request:
9+
paths:
10+
- 'src/**'
11+
- '.github/**'
612

713
jobs:
814
fmt_check:

.github/workflows/test.yml

+12-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
11
name: Test
22

33
on:
4-
- push
5-
- pull_request
4+
push:
5+
paths-ignore:
6+
- 'docs/**'
7+
- 'CHANGELOG.md'
8+
- 'LICENSE.md'
9+
- 'README.md'
10+
pull_request:
11+
paths-ignore:
12+
- 'docs/**'
13+
- 'CHANGELOG.md'
14+
- 'LICENSE.md'
15+
- 'README.md'
616

717
env:
818
CARGO_TERM_COLOR: always

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
[![](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86)](https://github.com/sponsors/Lymphatus)
44
[![Test](https://github.com/Lymphatus/caesium-clt/workflows/Test/badge.svg)](https://github.com/Lymphatus/caesium-clt/actions?query=workflow%3ATest)
5-
[![Clippy](https://github.com/Lymphatus/caesium-clt/actions/workflows/clippy.yaml/badge.svg)](https://github.com/Lymphatus/caesium-clt/actions/workflows/clippy.yaml)
6-
[![Code formatting](https://github.com/Lymphatus/caesium-clt/actions/workflows/fmt.yaml/badge.svg)](https://github.com/Lymphatus/caesium-clt/actions/workflows/fmt.yaml)
5+
[![Clippy](https://github.com/Lymphatus/caesium-clt/actions/workflows/clippy.yml/badge.svg)](https://github.com/Lymphatus/caesium-clt/actions/workflows/clippy.yml)
6+
[![Code formatting](https://github.com/Lymphatus/caesium-clt/actions/workflows/fmt.yml/badge.svg)](https://github.com/Lymphatus/caesium-clt/actions/workflows/fmt.yml)
77

88
v1.0.0-beta.0
99

0 commit comments

Comments
 (0)