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
5 changes: 0 additions & 5 deletions .cargo/config.toml

This file was deleted.

29 changes: 0 additions & 29 deletions .config/default.config.toml

This file was deleted.

48 changes: 0 additions & 48 deletions .docker/env.dockerfile

This file was deleted.

49 changes: 0 additions & 49 deletions .dockerignore

This file was deleted.

36 changes: 36 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

[*]
charset = utf-8
end_of_line = crlf
indent_style = space
indent_size = 4
insert_final_newline = false
quote_type = double
trim_trailing_whitespace = false

[*.{ts,tsx,js,jsx,cjs,mjs}]
indent_size = 2
quote_type = single

[*.{json,yaml,yml,toml}]
indent_size = 2

[*.md]
insert_final_newline = true
trim_trailing_whitespace = true

[*.rs]
indent_size = 4

[*.{html,htm,xml}]
indent_size = 2

[*.{css,scss,sass,less}]
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true

2 changes: 0 additions & 2 deletions .env.example

This file was deleted.

54 changes: 20 additions & 34 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,20 @@
version: 2
updates:
- package-ecosystem: cargo
directory: /
schedule:
interval: daily
- package-ecosystem: docker
directory: /.docker
schedule:
interval: daily
- package-ecosystem: github-actions
directory: /
schedule:
interval: daily
- package-ecosystem: cargo
directory: /contained
schedule:
interval: daily
- package-ecosystem: cargo
directory: /core
schedule:
interval: daily
- package-ecosystem: cargo
directory: /music
schedule:
interval: daily
- package-ecosystem: cargo
directory: /turing
schedule:
interval: daily
- package-ecosystem: cargo
directory: /xtask
schedule:
interval: daily
version: 2
updates:
- package-ecosystem: docker
directories:
- .
- /.docker
schedule:
interval: monthly
- package-ecosystem: github-actions
directory: /
schedule:
interval: monthly
- package-ecosystem: cargo
directories:
- /contained
- /core
- /derive
- /macros
schedule:
interval: monthly
52 changes: 52 additions & 0 deletions .github/workflows/cargo-bench.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: cargo-bench

concurrency:
cancel-in-progress: false
group: ${{ github.workflow }}-${{ github.ref }}

env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: full

on:
repository_dispatch:
types: [ cargo-bench, benchmark ]
workflow_dispatch:

permissions:
contents: write
checks: write

jobs:
benchmark:
runs-on: ubuntu-latest
outputs:
digest: ${{ steps.artifacts.outputs.artifact-digest }}
id: ${{ steps.artifacts.outputs.artifact-id }}
url: ${{ steps.artifacts.outputs.artifact-url }}
strategy:
fail-fast: false
matrix:
target: [ x86_64-unknown-linux-gnu ]
steps:
-
name: Checkout
uses: actions/checkout@v5
-
name: Setup Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
cache-key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
target: ${{ matrix.target }}
-
name: Benchmark the workspace
run: cargo bench --locked --verbose --workspace --target ${{ matrix.target }} --features full --
-
name: Upload the benchmarks
id: artifacts
uses: actions/upload-artifact@v4
with:
name: Benchmark Report (${{ github.event.repository.name }})
if-no-files-found: error
overwrite: true
path: target/criterion/
58 changes: 58 additions & 0 deletions .github/workflows/cargo-clippy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: clippy

concurrency:
cancel-in-progress: false
group: ${{ github.workflow }}-${{ github.ref }}

on:
pull_request:
branches: [ main, master, $default-branch ]
types: [ opened, synchronize, reopened ]
push:
branches: [ main, master, $default-branch ]
tags:
- v*.*.*
- "*-nightly"
release:
types: [ created, edited ]
repository_dispatch:
types: [ clippy, cargo-clippy ]
workflow_dispatch:

jobs:
clippy:
runs-on: ubuntu-latest
permissions:
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
contents: read
security-events: write
statuses: write
steps:
-
name: Checkout
uses: actions/checkout@v5
-
name: Setup Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
cache-key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
components: clippy, rustfmt
toolchain: nightly
override: true
-
name: Setup the for sarif output
run: cargo install clippy-sarif sarif-fmt
-
name: Run Clippy
run:
cargo clippy
--all-features
--workspace
--message-format=json | clippy-sarif | tee rust-clippy-results.sarif | sarif-fmt
-
name: Upload analysis
uses: github/codeql-action/upload-sarif@v3
continue-on-error: true
with:
sarif_file: rust-clippy-results.sarif
wait-for-processing: true
Loading