feat: impl Sub and SubAssign for bytesize #24
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: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
merge_group: | |
types: [checks_requested] | |
push: | |
branches: [master] | |
permissions: | |
contents: read | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
read_msrv: | |
name: Read MSRV | |
uses: actions-rust-lang/msrv/.github/workflows/[email protected] | |
rust: | |
needs: read_msrv | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- { name: Linux, runner: ubuntu-latest } | |
- { name: macOS, runner: macos-latest } | |
- { name: Windows, runner: windows-latest } | |
toolchain: | |
- { name: stable, version: stable } | |
- { name: msrv, version: "${{ needs.read_msrv.outputs.msrv }}" } | |
name: ${{ matrix.os.name }} / ${{ matrix.toolchain.name }} | |
runs-on: ${{ matrix.os.runner }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Rust (${{ matrix.toolchain.name }}) | |
uses: actions-rust-lang/[email protected] | |
with: | |
toolchain: ${{ matrix.toolchain.version }} | |
- name: Install just, nextest | |
uses: taiki-e/[email protected] | |
with: | |
tool: just,nextest | |
- name: Test | |
run: just test |