Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .cargo/audit.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[advisories]
ignore = ["RUSTSEC-2023-0071", "RUSTSEC-2025-0055"]
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: crazysacx
8 changes: 8 additions & 0 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
coverage:
status:
project:
default:
# basic
target: 10%
threshold: 10%
if_ci_failed: error
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "cargo"
directory: "/"
schedule:
interval: "daily"
37 changes: 37 additions & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
on:
workflow_dispatch:
# Trigger the workflow on push to master or any pull request
# Ignore all tags
push:
branches:
- master
tags-ignore:
- "*"
pull_request:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: "22 3 * * *"

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

name: 💣 Audit 💣

jobs:
audit-check:
runs-on: ubuntu-latest
name: 💣 Audit 💣
steps:
- name: ✅ Checkout ✅
uses: actions/checkout@v3
- name: 💣 Audit 💣
id: audit
uses: rustyhorde/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
deny: 'warnings'
create_issue: 'true'
136 changes: 136 additions & 0 deletions .github/workflows/barto.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
on:
push:
branches:
- master
tags-ignore:
- "*"
pull_request:
branches:
- "*"
schedule:
- cron: "27 4 * * *"

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

name: 🦀 barto 🦀

jobs:
rustfmt:
name: 📌 Formatting 📌
uses: rustyhorde/workflows/.github/workflows/rustfmt.yml@main

lints-linux:
name: 🕳️ Clippy (Linux) 🕳️
needs: rustfmt
uses: rustyhorde/workflows/.github/workflows/clippy-all-features.yml@main
with:
os: ubuntu-latest
channel: nightly
target: x86_64-unknown-linux-gnu

lints-macos:
name: 🕳️ Clippy (MacOS) 🕳️
needs: rustfmt
uses: rustyhorde/workflows/.github/workflows/clippy-all-features.yml@main
with:
os: macos-latest
channel: nightly
target: apple-darwin

lints-windows:
name: 🕳️ Clippy (Windows) 🕳️
needs: rustfmt
uses: rustyhorde/workflows/.github/workflows/clippy-all-features.yml@main
with:
os: windows-latest
channel: nightly
target: x86_64-pc-windows-gnu

test-linux:
name: 🧪 Test (Linux) 🧪
needs: lints-linux
strategy:
matrix:
os: [ubuntu-latest]
channel: ["1.89.0", "stable", "beta", "nightly"]
target: [x86_64-unknown-linux-gnu]
uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main
with:
os: ${{ matrix.os }}
channel: ${{ matrix.channel }}
target: ${{ matrix.target }}

test-macos:
name: 🧪 Test (MacOS) 🧪
needs: lints-macos
strategy:
matrix:
os: [macos-latest]
channel: ["1.89.0", "stable", "beta", "nightly"]
target: [apple-darwin]
uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main
with:
os: ${{ matrix.os }}
channel: ${{ matrix.channel }}
target: ${{ matrix.target }}

test-windows:
name: 🧪 Test (Windows) 🧪
needs: lints-windows
strategy:
matrix:
os: [windows-latest]
channel: ["1.89.0", "stable", "beta", "nightly"]
target: [x86_64-pc-windows-gnu, x86_64-pc-windows-msvc]
uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main
with:
os: ${{ matrix.os }}
channel: ${{ matrix.channel }}
target: ${{ matrix.target }}

coverage-linux:
name: 🧱 Coverage (Linux) 🧱
needs: test-linux
uses: rustyhorde/workflows/.github/workflows/coverage.yml@main
with:
os: ubuntu-latest
channel: nightly
target: x86_64-unknown-linux-gnu
lcov: true
html: true
run_cmd: ${{ vars.COVERAGE_RUN_CMD }}
secrets: inherit

coverage-macos:
name: 🧱 Coverage (MacOS) 🧱
needs: test-macos
uses: rustyhorde/workflows/.github/workflows/coverage.yml@main
with:
os: macos-latest
channel: nightly
target: apple-darwin
lcov: true
html: true
run_cmd: ${{ vars.COVERAGE_RUN_CMD }}
secrets: inherit

coverage-windows:
name: 🧱 Coverage (Wndows) 🧱
needs: test-windows
strategy:
matrix:
target: [x86_64-pc-windows-gnu, x86_64-pc-windows-msvc]
uses: rustyhorde/workflows/.github/workflows/coverage.yml@main
with:
os: windows-latest
channel: nightly
target: ${{ matrix.target }}
lcov: true
html: true
run_cmd: ${{ vars.COVERAGE_RUN_CMD }}
secrets: inherit
2 changes: 1 addition & 1 deletion bartoc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ version = "0.1.0"
rust-version = "1.89.0"

[features]
unstable = []
unstable = ["libbarto/unstable"]

[dependencies]
anyhow = { workspace = true }
Expand Down
Loading