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: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ root = true

[*]
charset = utf-8
end_of_line = crlf
end_of_line = lf
indent_style = space
indent_size = 4
insert_final_newline = false
Expand Down
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CARGO_TERM_COLOR=always
12 changes: 10 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,16 @@ updates:
schedule:
interval: monthly
directories:
- /*
- /models/*
- .
- /concision
- /core
- /data
- /derive
- /ext
- /init
- /macros
- /params
- /traits
- package-ecosystem: devcontainers
directory: /
schedule:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cargo-clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ concurrency:
on:
pull_request:
branches: [main, master]
types: [edited, opened, ready_for_review, reopened]
types: [opened, ready_for_review, reopened]
push:
branches: [main, master]
tags: [v*.*.*, "*-nightly"]
Expand All @@ -27,7 +27,7 @@ jobs:
statuses: write
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Setup Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
Expand Down
10 changes: 1 addition & 9 deletions .github/workflows/cargo-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,23 +38,15 @@ jobs:
- concision-traits
- concision-init
- concision-params
- concision-utils
- concision-core
- concision-data
- concision-neural
- concision-derive
- concision-macros
- concision
- concision-ext
# non-sdk packages
- concision-kan
- concision-s4
- concision-snn
- concision-transformer
- concision-models
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
fetch-depth: 0
ref: ${{ github.ref }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ concurrency:
on:
pull_request:
branches: [main, master]
types: [edited, opened, ready_for_review, reopened]
types: [opened, ready_for_review, reopened]
push:
branches: [main, master]
tags: [v*.*.*, "*-nightly"]
Expand All @@ -25,13 +25,13 @@ jobs:
continue-on-error: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: cachix/install-nix-action@v31
- name: Checkout
uses: actions/checkout@v6
- name: Setup Nix
uses: cachix/install-nix-action@v31
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Build
id: build
run: nix build
- name: Check the flake
id: check
run: nix flake check
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
fetch-depth: 0
ref: ${{ github.ref }}
repository: ${{ github.repository }}
- name: Publish to crates.io
uses: peter-evans/repository-dispatch@v3
uses: peter-evans/repository-dispatch@v4
with:
event-type: cargo-publish
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'
Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ on:
pull_request:
branches: [main, master]
types: [edited, opened, ready_for_review, reopened, synchronize]
paths:
- '**.rs'
- 'Cargo.toml'
- 'Cargo.lock'
- '.github/workflows/rust.yml'
push:
branches: [main, master]
tags: [v*.*.*, "*-nightly"]
Expand All @@ -34,7 +39,7 @@ jobs:
target: [x86_64-unknown-linux-gnu]
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Setup Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
Expand All @@ -43,7 +48,7 @@ jobs:
- name: Build the workspace
run: cargo build --release --locked --workspace --features full --target ${{ matrix.target }}
benchmark:
if: ${{ inputs.benchmark || github.event_name == 'push' }}
if: ${{ inputs.benchmark || github.event_name != 'pull_request' }}
runs-on: ubuntu-latest
outputs:
digest: ${{ steps.artifacts.outputs.artifact-digest }}
Expand All @@ -58,7 +63,7 @@ jobs:
target: [x86_64-unknown-linux-gnu]
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Setup Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
Expand All @@ -84,7 +89,7 @@ jobs:
target: [x86_64-unknown-linux-gnu]
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Setup Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
Expand Down
Loading
Loading