Fix CI and README badges

This commit is contained in:
Matteo Paonessa 2024-12-27 20:32:22 +01:00
parent f79fbdead9
commit 567aabda81
4 changed files with 30 additions and 8 deletions

View File

@ -1,7 +1,13 @@
name: Clippy check
on:
- push
- pull_request
push:
paths:
- 'src/**'
- '.github/**'
pull_request:
paths:
- 'src/**'
- '.github/**'
env:
RUSTFLAGS: "-Dwarnings"

View File

@ -1,8 +1,14 @@
name: Code formatting
on:
- push
- pull_request
push:
paths:
- 'src/**'
- '.github/**'
pull_request:
paths:
- 'src/**'
- '.github/**'
jobs:
fmt_check:

View File

@ -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

View File

@ -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