Bump version #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
# Check out the repository | |
- uses: actions/checkout@v3 | |
# Set up the Rust toolchain | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
# Install cargo-semver-checks | |
- run: cargo install cargo-semver-checks | |
# Check for proper formatting | |
- name: Check formatting | |
run: cargo +nightly fmt -- --check | |
# Run tests | |
- name: Run tests | |
run: cargo test --all | |
# Check semver compliance | |
- name: Check Semver Compliance | |
run: cargo semver-checks check-release |