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 name: Clippy check
on: on:
- push push:
- pull_request paths:
- 'src/**'
- '.github/**'
pull_request:
paths:
- 'src/**'
- '.github/**'
env: env:
RUSTFLAGS: "-Dwarnings" RUSTFLAGS: "-Dwarnings"

View File

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

View File

@ -1,8 +1,18 @@
name: Test name: Test
on: on:
- push push:
- pull_request paths-ignore:
- 'docs/**'
- 'CHANGELOG.md'
- 'LICENSE.md'
- 'README.md'
pull_request:
paths-ignore:
- 'docs/**'
- 'CHANGELOG.md'
- 'LICENSE.md'
- 'README.md'
env: env:
CARGO_TERM_COLOR: always 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) [![](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) [![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) [![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.yaml/badge.svg)](https://github.com/Lymphatus/caesium-clt/actions/workflows/fmt.yaml) [![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 v1.0.0-beta.0