Skip to content

Commit

Permalink
Update CI: replace actions-rs as it is deprecated (#150)
Browse files Browse the repository at this point in the history
Also fix cargo doc warning
  • Loading branch information
keepsimple1 authored Nov 28, 2023
1 parent c9d7b4f commit f1f174f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,9 @@ jobs:
matrix:
os: [ubuntu-20.04, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v2
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
- uses: actions/checkout@v4
- uses: dtolnay/[email protected]
with:
profile: minimal
toolchain: 1.60.0
override: true
components: rustfmt, clippy
- name: Run rustfmt and fail if any warnings
run: cargo fmt -- --check
Expand Down
2 changes: 1 addition & 1 deletion src/service_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pub struct ServiceInfo {
ty_domain: String, // <service>.<domain>

/// See RFC6763 section 7.1 about "Subtypes":
/// https://datatracker.ietf.org/doc/html/rfc6763#section-7.1
/// <https://datatracker.ietf.org/doc/html/rfc6763#section-7.1>
sub_domain: Option<String>, // <subservice>._sub.<service>.<domain>

fullname: String, // <instance>.<service>.<domain>
Expand Down

0 comments on commit f1f174f

Please sign in to comment.