Skip to content

Commit 16a8c21

Browse files
committed
Simplify GitHub Actions use.
1 parent 8f9a0f6 commit 16a8c21

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,4 +153,4 @@ jobs:
153153
uses: actions/checkout@v3
154154

155155
- name: Check semver
156-
uses: obi1kenobi/cargo-semver-checks-action@v1.1
156+
uses: obi1kenobi/cargo-semver-checks-action@v1

README.md

+1-5
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ cargo install cargo-semver-checks
1616
cargo semver-checks check-release --current <new-rustdoc-json> --baseline <previous-rustdoc-json>
1717
1818
# Use as a GitHub Action (used in .github/workflows/ci.yml in this repo):
19-
steps:
20-
- uses: actions/checkout@v3
21-
with:
22-
fetch-depth: 0
2319
- name: Check semver
2420
uses: obi1kenobi/cargo-semver-checks-action@v1
2521
- name: Publish to crates.io
@@ -41,7 +37,7 @@ However, it won't catch every kind of semver issue, and its performance on massi
4137

4238
## Using `cargo-semver-checks` to check your crate
4339

44-
The easiest way to use this crate is via
40+
The easiest way to use this crate is via
4541
[the corresponding GitHub Action](https://github.com/obi1kenobi/cargo-semver-checks-action)
4642
that will automatically do all the steps for you.
4743

0 commit comments

Comments
 (0)