generated from PlexSheep/baserepo
Compare commits
5 Commits
Author | SHA1 | Date |
---|---|---|
Christoph J. Scherr | 79745508a6 | |
Christoph J. Scherr | b292d0384d | |
Christoph J. Scherr | efb043fd04 | |
Christoph J. Scherr | d40383372a | |
Christoph J. Scherr | 16840d0e5a |
|
@ -21,6 +21,8 @@ jobs:
|
|||
run: |
|
||||
rustup component add rustfmt
|
||||
rustup component add clippy
|
||||
- name: install python
|
||||
run: apt update && apt install libpython3-dev -y
|
||||
- name: config custom registry
|
||||
run: |
|
||||
mkdir -p ~/.cargo/
|
|
@ -8,7 +8,6 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
|
||||
jobs:
|
||||
|
||||
|
@ -19,8 +18,6 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Install Rust toolchain
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
- name: Run release-plz
|
|
@ -1,7 +0,0 @@
|
|||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
# Check for updates every Monday
|
||||
schedule:
|
||||
interval: "weekly"
|
|
@ -1,16 +1,10 @@
|
|||
name: Rust CI
|
||||
name: cargo devel CI
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- '**'
|
||||
push:
|
||||
branches:
|
||||
- '**'
|
||||
# - '!master'
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
jobs:
|
||||
CI:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -48,10 +42,10 @@ jobs:
|
|||
- name: cargo fmt
|
||||
run: cargo fmt --all
|
||||
- name: cargo test
|
||||
run: cargo test --all-features --all-targets --workspace
|
||||
run: cargo test --all-features --all-targets --workspace && cargo test --all-features --workspace --doc
|
||||
- name: commit back to repository
|
||||
uses: stefanzweifel/git-auto-commit-action@v5
|
||||
with:
|
||||
# Optional. Commit message for the created commit.
|
||||
# Defaults to "Apply automatic changes"
|
||||
commit_message: "ci: automatic Rust CI changes"
|
||||
commit_message: "ci: automatic cargo CI changes"
|
||||
|
|
|
@ -77,7 +77,3 @@ Testing needs to be done separately for the rust and python parts:
|
|||
The documentation can be automatically generated with `cargo doc --open`.
|
||||
|
||||
An up to date version of the Documentation can be found [here](https://docs.rs/libpt/)
|
||||
|
||||
## License
|
||||
|
||||
**Pt is MIT Licensed**
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
//! `pt` is a project consisting of multiple smaller crates, all bundled together in this
|
||||
//! "main crate". Most crates will only show up if you activate their feature.
|
||||
#![warn(clippy::pedantic, clippy::style, clippy::nursery)]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "full")))]
|
||||
#[cfg(feature = "bintols")]
|
||||
pub use libpt_bintols as bintols;
|
||||
#[cfg(feature = "cli")]
|
||||
|
|
Reference in New Issue