Skip to content

Commit

Permalink
Fix CI and README badges
Browse files Browse the repository at this point in the history
  • Loading branch information
Lymphatus committed Dec 27, 2024
1 parent f79fbde commit 567aabd
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 8 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
name: Clippy check
on:
- push
- pull_request
push:
paths:
- 'src/**'
- '.github/**'
pull_request:
paths:
- 'src/**'
- '.github/**'

env:
RUSTFLAGS: "-Dwarnings"
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/fmt.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
name: Code formatting

on:
- push
- pull_request
push:
paths:
- 'src/**'
- '.github/**'
pull_request:
paths:
- 'src/**'
- '.github/**'

jobs:
fmt_check:
Expand Down
14 changes: 12 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
name: Test

on:
- push
- pull_request
push:
paths-ignore:
- 'docs/**'
- 'CHANGELOG.md'
- 'LICENSE.md'
- 'README.md'
pull_request:
paths-ignore:
- 'docs/**'
- 'CHANGELOG.md'
- 'LICENSE.md'
- 'README.md'

env:
CARGO_TERM_COLOR: always
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

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

v1.0.0-beta.0

Expand Down

0 comments on commit 567aabd

Please sign in to comment.