-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve build issues and log errors to
stderr
(#24)
* Migrate to clap + update workflows * Use stdout instead of println for faster printing * Break into separate lib and bin crates * Add PR template * Commit Cargo.lock * Fix Dockerfile not building * Fix path to CHANGELOG in action * Combine testing actions * Remove failing test case * Improved documentation + CHANGELOG * Prepare for publishing CLI crate * Add merge check list to PR template * Test new docker image * Revert testing image * Test logging to stderr * Revert test
- Loading branch information
Showing
26 changed files
with
580 additions
and
205 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,15 @@ | ||
### What's changing? | ||
|
||
<!-- Include a summary of all important changes --> | ||
|
||
### See also | ||
|
||
<!-- Link out to any related documentation or issues that this PR address --> | ||
|
||
### Checklist | ||
|
||
(For maintainers) | ||
|
||
- [ ] Published to crates.io | ||
- [ ] Published to Docker Hub | ||
- [ ] Release created on GitHub |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,15 +1,27 @@ | ||
name: Build & Test | ||
|
||
name: Build and Test | ||
on: [push] | ||
|
||
jobs: | ||
build: | ||
build-rust: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
- name: Verify package builds | ||
run: cargo build --verbose | ||
- name: Run tests | ||
run: cargo test --verbose | ||
|
||
- name: Build | ||
run: cargo build --verbose | ||
build-docker: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Verify docker image builds | ||
run: docker build . | ||
|
||
- name: Run tests | ||
run: cargo test --verbose | ||
test-action: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./ | ||
with: | ||
file: crates/markdown-extract/CHANGELOG.md | ||
pattern: "v2.0.0" |
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
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
Oops, something went wrong.