Skip to content

Commit

Permalink
Do not check semver for proc-macro (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
ia0 committed Jul 3, 2023
1 parent f33934d commit 8c8fe8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,6 @@ jobs:
- name: cd lib && cargo +stable semver-checks check-release
run: cargo +stable semver-checks check-release
working-directory: lib
- name: cd lib/macro/internal && cargo +stable semver-checks check-release
run: cargo +stable semver-checks check-release
working-directory: lib/macro/internal
- name: cd lib/macro && cargo +stable semver-checks check-release
run: cargo +stable semver-checks check-release
working-directory: lib/macro
Expand Down
5 changes: 3 additions & 2 deletions xtask/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -448,8 +448,9 @@ impl Actions {
continue;
}
if task == Task::SemverChecks {
if !dir.is_published() || matches!(dir, Dir::Bin) {
// SemverChecks only makes sense for published library crates.
if !dir.is_published() || matches!(dir, Dir::Bin | Dir::MacroInternal) {
// SemverChecks only makes sense for published library crates (not binary
// and not proc-macro).
continue;
}
// SemverChecks only guarantees support for stable.
Expand Down

0 comments on commit 8c8fe8e

Please sign in to comment.