Skip to content

Commit cbb7068

Browse files
author
Ramon Moraes
committed
Merge branch 'dev'
2 parents a355df7 + a080fc2 commit cbb7068

File tree

4 files changed

+32
-2
lines changed

4 files changed

+32
-2
lines changed

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Rust
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
12+
13+
jobs:
14+
test_and_publish:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
- name: Extra Cargo
19+
run: cargo install cargo-caw-publish
20+
- name: Run tests
21+
run: cargo test --lib --verbose
22+
- name: Build
23+
run: cargo build --verbose
24+
- name: Publish
25+
run: cargo caw-publish

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
name = "http_status_code_check"
33
version = "0.1.0"
44
edition = "2021"
5+
authors = ["Ramon Moraes <[email protected]>"]
6+
description = "dead simple binary to check http status code returned from health-check endpoint."
7+
license = "MIT"
8+
documentation = "https://docs.rs/http_status_code_check/latest/http_status_code_check/"
9+
homepage = "https://github.com/rmoraes92/http_status_code_check"
510

611
[dependencies]
712
clap = { version = "4.5.27", features = ["derive"] }

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright © 2025 Ramon Moraes
3+
Copyright © 2025 Ramon Moraes <[email protected]>
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of
66
this software and associated documentation files (the "Software"), to deal in

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ endpoint.
2424

2525
The MIT License (MIT)
2626

27-
Copyright © 2025 Ramon Moraes
27+
Copyright © 2025 Ramon Moraes <[email protected]>
2828

2929
Permission is hereby granted, free of charge, to any person obtaining a copy of
3030
this software and associated documentation files (the "Software"), to deal in

0 commit comments

Comments
 (0)