Compare commits

..

5 Commits

Author SHA1 Message Date
Christoph J. Scherr 79745508a6 chore: add release-plz ci
cargo devel CI / cargo CI (push) Successful in 1m58s Details
2024-10-16 13:49:15 +02:00
Christoph J. Scherr b292d0384d chore: change ci message to fit conventional git commits 2024-10-16 13:31:58 +02:00
Christoph J. Scherr efb043fd04
Merge branch 'master' into devel
cargo devel CI / cargo CI (push) Successful in 1m55s Details
2024-09-26 10:06:21 +02:00
Christoph J. Scherr d40383372a docs(readme): remove old and wrong license section
cargo devel CI / cargo CI (push) Successful in 1m50s Details
2024-09-08 01:49:31 +02:00
Christoph J. Scherr 16840d0e5a docs: fix #104
cargo devel CI / cargo CI (push) Successful in 1m53s Details
2024-09-08 01:44:42 +02:00
6 changed files with 5 additions and 24 deletions

View File

@ -21,6 +21,8 @@ jobs:
run: | run: |
rustup component add rustfmt rustup component add rustfmt
rustup component add clippy rustup component add clippy
- name: install python
run: apt update && apt install libpython3-dev -y
- name: config custom registry - name: config custom registry
run: | run: |
mkdir -p ~/.cargo/ mkdir -p ~/.cargo/

View File

@ -8,7 +8,6 @@ on:
push: push:
branches: branches:
- master - master
- main
jobs: jobs:
@ -19,8 +18,6 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Rust toolchain - name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable uses: dtolnay/rust-toolchain@stable
- name: Run release-plz - name: Run release-plz

View File

@ -1,7 +0,0 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
# Check for updates every Monday
schedule:
interval: "weekly"

View File

@ -1,16 +1,10 @@
name: Rust CI name: cargo devel CI
on: on:
pull_request:
branches:
- '**'
push: push:
branches: branches:
- '**' - '**'
# - '!master' # - '!master'
env:
CARGO_TERM_COLOR: always
jobs: jobs:
CI: CI:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -48,10 +42,10 @@ jobs:
- name: cargo fmt - name: cargo fmt
run: cargo fmt --all run: cargo fmt --all
- name: cargo test - 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 - name: commit back to repository
uses: stefanzweifel/git-auto-commit-action@v5 uses: stefanzweifel/git-auto-commit-action@v5
with: with:
# Optional. Commit message for the created commit. # Optional. Commit message for the created commit.
# Defaults to "Apply automatic changes" # Defaults to "Apply automatic changes"
commit_message: "ci: automatic Rust CI changes" commit_message: "ci: automatic cargo CI changes"

View File

@ -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`. 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/) An up to date version of the Documentation can be found [here](https://docs.rs/libpt/)
## License
**Pt is MIT Licensed**

View File

@ -6,7 +6,6 @@
//! `pt` is a project consisting of multiple smaller crates, all bundled together in this //! `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. //! "main crate". Most crates will only show up if you activate their feature.
#![warn(clippy::pedantic, clippy::style, clippy::nursery)] #![warn(clippy::pedantic, clippy::style, clippy::nursery)]
#[cfg_attr(docsrs, doc(cfg(feature = "full")))]
#[cfg(feature = "bintols")] #[cfg(feature = "bintols")]
pub use libpt_bintols as bintols; pub use libpt_bintols as bintols;
#[cfg(feature = "cli")] #[cfg(feature = "cli")]