File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed
Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change 4848 - name : Run tests
4949 run : cargo test --verbose
5050
51+ # Check that there are no SemVer violations before releasing.
52+ # https://github.com/obi1kenobi/cargo-semver-checks
53+ - name : Check semver
54+ uses : obi1kenobi/cargo-semver-checks-action@v2
55+ with :
56+ feature-group : default-features
57+ features : pool
58+
59+ # Another check with the mutually exclusive tls-rustls feature enabled.
60+ - name : Check semver
61+ uses : obi1kenobi/cargo-semver-checks-action@v2
62+ with :
63+ feature-group : only-explicit-features
64+ features : tls-rustls,pool
65+
66+
5167 - name : Deploy to crates.io
5268 if : github.event_name == 'push' && github.ref == 'refs/heads/main'
5369 run : cargo publish
5470 env :
55- CARGO_REGISTRY_TOKEN : ${{ secrets.CRATES_TOKEN }}
71+ CARGO_REGISTRY_TOKEN : ${{ secrets.CRATES_TOKEN }}
You can’t perform that action at this time.
0 commit comments