Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: 0.6.5 #685

Merged
merged 1 commit into from
Aug 5, 2024
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
20 changes: 16 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ jobs:
publish_dir: ./docs/public
force_orphan: true

publish:
name: Publish
crates-publish:
name: Publish to crates.io
needs: [build-test]
if: github.ref == 'refs/heads/main' && contains(github.event.head_commit.message, 'release:')
runs-on: ubuntu-latest
Expand All @@ -71,8 +71,20 @@ jobs:
registry-token: ${{ secrets.CRATES_IO_TOKEN }}
args: --no-verify

gh-release:
name: Github Release Upload
fh-publish:
name: Publish to FlakeHub
needs: [build-test]
if: github.ref == 'refs/heads/main' && contains(github.event.head_commit.message, 'release:')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/flakehub-push@main
with:
visibility: public

gh-publish:
name: Publish to Github
needs: [build-test]
if: github.ref == 'refs/heads/main' && contains(github.event.head_commit.message, 'release:')
strategy:
Expand Down
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,14 @@ sudo dnf install <cli_name> # ex. cargo binstall sarif-fmt

### Nix

Through the `nix` cli,

```shell
nix --accept-flake-config profile install github:psastras/sarif-rs
```

Or [from FlakeHub](https://flakehub.com/flake/psastras/sarif-rs).

## Documentation

See each subproject for more detailed information:
Expand Down
4 changes: 2 additions & 2 deletions clang-tidy-sarif/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "clang-tidy-sarif"
version = "0.6.4"
version = "0.6.5"
authors = ["Paul Sastrasinh <[email protected]>"]
edition = "2018"
description = "Convert clang-tidy output to SARIF"
Expand All @@ -21,7 +21,7 @@ path = "src/bin.rs"

[dependencies]
anyhow = "1.0.86"
serde-sarif = { path = "../serde-sarif", version = "0.6.4", features = ["clang-tidy-converters"] }
serde-sarif = { path = "../serde-sarif", version = "0.6.5", features = ["clang-tidy-converters"] }
clap = { version = "4.5.13", features = ["derive"] }
duct = "0.13.7"

Expand Down
2 changes: 1 addition & 1 deletion clang-tidy-sarif/src/bin.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![doc(html_root_url = "https://docs.rs/clang-tidy-sarif/0.6.4")]
#![doc(html_root_url = "https://docs.rs/clang-tidy-sarif/0.6.5")]

//! This crate provides a command line tool to convert `clang-tidy` diagnostic
//! output into SARIF.
Expand Down
4 changes: 2 additions & 2 deletions clippy-sarif/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "clippy-sarif"
version = "0.6.4"
version = "0.6.5"
authors = ["Paul Sastrasinh <[email protected]>"]
edition = "2018"
description = "Convert clippy output to SARIF"
Expand All @@ -21,7 +21,7 @@ path = "src/bin.rs"

[dependencies]
anyhow = "1.0.86"
serde-sarif = { path = "../serde-sarif", version = "0.6.4", features = ["clippy-converters"] }
serde-sarif = { path = "../serde-sarif", version = "0.6.5", features = ["clippy-converters"] }
clap = { version = "4.5.13", features = ["derive"] }

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion clippy-sarif/src/bin.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![doc(html_root_url = "https://docs.rs/clippy-sarif/0.6.4")]
#![doc(html_root_url = "https://docs.rs/clippy-sarif/0.6.5")]

//! This crate provides a command line tool to convert `cargo clippy` diagnostic
//! output into SARIF.
Expand Down
4 changes: 2 additions & 2 deletions hadolint-sarif/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hadolint-sarif"
version = "0.6.4"
version = "0.6.5"
authors = ["Paul Sastrasinh <[email protected]>"]
edition = "2018"
description = "Convert hadolint output to SARIF"
Expand All @@ -21,7 +21,7 @@ path = "src/bin.rs"

[dependencies]
anyhow = "1.0.86"
serde-sarif = { path = "../serde-sarif", version = "0.6.4", features = ["hadolint-converters"] }
serde-sarif = { path = "../serde-sarif", version = "0.6.5", features = ["hadolint-converters"] }
clap = { version = "4.5.13", features = ["derive"] }

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion hadolint-sarif/src/bin.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![doc(html_root_url = "https://docs.rs/hadolint-sarif/0.6.4")]
#![doc(html_root_url = "https://docs.rs/hadolint-sarif/0.6.5")]

//! This crate provides a command line tool to convert `hadolint` diagnostic
//! output into SARIF.
Expand Down
4 changes: 2 additions & 2 deletions sarif-fmt/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sarif-fmt"
version = "0.6.4"
version = "0.6.5"
authors = ["Paul Sastrasinh <[email protected]>"]
edition = "2018"
description = "View (pretty print) SARIF files in terminal"
Expand All @@ -22,7 +22,7 @@ path = "src/bin.rs"
[dependencies]
anyhow = "1.0.86"
codespan-reporting = "0.11.1"
serde-sarif = { path = "../serde-sarif", version = "0.6.4" }
serde-sarif = { path = "../serde-sarif", version = "0.6.5" }
serde_json = "1.0.122"
clap = { version = "4.5.13", features = ["derive"] }

Expand Down
2 changes: 1 addition & 1 deletion sarif-fmt/src/bin.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![doc(html_root_url = "https://docs.rs/sarif-fmt/0.6.4")]
#![doc(html_root_url = "https://docs.rs/sarif-fmt/0.6.5")]
#![recursion_limit = "256"]
//! This crate provides a command line tool to pretty print SARIF files to
//! easy human readable output.
Expand Down
2 changes: 1 addition & 1 deletion serde-sarif/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "serde-sarif"
version = "0.6.4"
version = "0.6.5"
authors = ["Paul Sastrasinh <[email protected]>"]
edition = "2018"
description = "Serde serialization for SARIF files"
Expand Down
2 changes: 1 addition & 1 deletion serde-sarif/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![doc(html_root_url = "https://docs.rs/serde-sarif/0.6.4")]
#![doc(html_root_url = "https://docs.rs/serde-sarif/0.6.5")]

//! This crate provides a type safe [serde](https://serde.rs/) compatible
//! [SARIF](https://sarifweb.azurewebsites.net/) structure. It is intended
Expand Down
4 changes: 2 additions & 2 deletions shellcheck-sarif/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shellcheck-sarif"
version = "0.6.4"
version = "0.6.5"
authors = ["Paul Sastrasinh <[email protected]>"]
edition = "2018"
description = "Convert shellcheck output to SARIF"
Expand All @@ -21,7 +21,7 @@ path = "src/bin.rs"

[dependencies]
anyhow = "1.0.86"
serde-sarif = { path = "../serde-sarif", version = "0.6.4", features = ["shellcheck-converters"] }
serde-sarif = { path = "../serde-sarif", version = "0.6.5", features = ["shellcheck-converters"] }
clap = { version = "4.5.13", features = ["derive"] }

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion shellcheck-sarif/src/bin.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![doc(html_root_url = "https://docs.rs/shellcheck-sarif/0.6.4")]
#![doc(html_root_url = "https://docs.rs/shellcheck-sarif/0.6.5")]

//! This crate provides a command line tool to convert `shellcheck` diagnostic
//! output into SARIF.
Expand Down
Loading