-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0a557c6
commit c63f154
Showing
8 changed files
with
225 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
github: Systemcluster |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report about a non-working or broken feature | ||
title: '' | ||
labels: bug | ||
assignees: Systemcluster | ||
|
||
--- | ||
|
||
**Bug description** | ||
A description of the issue or the error message if one appeared. | ||
|
||
**Reproduction steps** | ||
Steps to reproduce the behavior. | ||
|
||
**Additional context** | ||
Any other context about the bug report if available. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: enhancement | ||
assignees: Systemcluster | ||
|
||
--- | ||
|
||
**Idea description** | ||
A description of what you would like to see or be able to do. | ||
|
||
**Considered alternatives** | ||
A description of alternative solutions or features you've considered if available. | ||
|
||
**Additional context** | ||
Any other context about the feature request if available. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
name: Question | ||
about: Ask a question about support or unclear features | ||
title: '' | ||
labels: question | ||
assignees: Systemcluster | ||
|
||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
**Change description** | ||
A description of the changes this pull request introduces. | ||
|
||
**Related issues** | ||
Bug reports or feature requests related to this pull request if available. | ||
|
||
**Additional context** | ||
Any other context about the pull request if available. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: Publish | ||
|
||
on: | ||
workflow_run: | ||
branches: | ||
- main | ||
workflows: | ||
- Tests & Checks | ||
types: | ||
completed | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: write | ||
checks: write | ||
statuses: write | ||
|
||
jobs: | ||
|
||
publish: | ||
|
||
name: Publish | ||
runs-on: ${{ matrix.os }} | ||
if: ${{ github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success' }} | ||
|
||
strategy: | ||
matrix: | ||
os: | ||
- ubuntu-latest | ||
toolchain: | ||
- stable | ||
|
||
steps: | ||
- name: Checkout source | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
show-progress: false | ||
|
||
- name: Set up Rust toolchain | ||
uses: Systemcluster/actions@setup-rust-v0 | ||
with: | ||
channel: ${{ matrix.toolchain }} | ||
cache-key-job: true | ||
|
||
- name: Run tests | ||
run: cargo test --workspace --all-features | ||
|
||
- name: Publish | ||
uses: Systemcluster/actions@release-crates-v0 | ||
if: github.ref == 'refs/heads/main' && github.repository_owner == 'Systemcluster' | ||
with: | ||
crates-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} | ||
dry-run: ${{ !secrets.CARGO_REGISTRY_TOKEN }} | ||
tag-crate: editpe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
name: Tests & Checks | ||
|
||
on: | ||
pull_request: | ||
paths-ignore: | ||
- ".github/**" | ||
- "**/*.md" | ||
push: | ||
paths-ignore: | ||
- ".github/**" | ||
- "**/*.md" | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: write | ||
pull-requests: write | ||
checks: write | ||
statuses: write | ||
|
||
jobs: | ||
|
||
checks: | ||
|
||
name: Checks | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
os: | ||
- ubuntu-latest | ||
- windows-latest | ||
- macos-latest | ||
toolchain: | ||
- stable | ||
|
||
steps: | ||
- name: Checkout source | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
show-progress: false | ||
|
||
- name: Set up Rust toolchain | ||
uses: Systemcluster/actions@setup-rust-v0 | ||
with: | ||
channel: ${{ matrix.toolchain }} | ||
components: clippy | ||
cache-key-job: true | ||
|
||
- name: Check build | ||
run: cargo check --workspace --all-features | ||
|
||
- name: Check clippy | ||
run: cargo clippy --workspace --all-features | ||
|
||
tests: | ||
|
||
name: Tests | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
os: | ||
- ubuntu-latest | ||
- windows-latest | ||
- macos-latest | ||
toolchain: | ||
- stable | ||
- beta | ||
|
||
steps: | ||
- name: Checkout source | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
show-progress: false | ||
|
||
- name: Set up Rust toolchain | ||
uses: Systemcluster/actions@setup-rust-v0 | ||
with: | ||
channel: ${{ matrix.toolchain }} | ||
cache-key-job: true | ||
|
||
- name: Run tests | ||
run: cargo test --workspace --all-features | ||
|
||
formatting: | ||
|
||
name: Formatting | ||
runs-on: ${{ matrix.os }} | ||
|
||
if: github.event_name == 'pull_request' | ||
|
||
strategy: | ||
matrix: | ||
os: | ||
- ubuntu-latest | ||
toolchain: | ||
- nightly | ||
|
||
steps: | ||
- name: Checkout source | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
show-progress: false | ||
|
||
- name: Set up Rust toolchain | ||
uses: Systemcluster/actions@setup-rust-v0 | ||
with: | ||
channel: ${{ matrix.toolchain }} | ||
components: rustfmt | ||
cache-key-job: true | ||
|
||
- name: Check formatting | ||
uses: mbrobbel/rustfmt-check@master | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters