Skip to content

refactor: remove once-cell #24

refactor: remove once-cell

refactor: remove once-cell #24

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
push:
branches: [main]
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
toolchain:
- { name: msrv, version: '1.68' }
- { name: stable, version: stable }
name: Test / ${{ matrix.toolchain.name }}
steps:
- uses: actions/checkout@v3
- name: Install Rust (${{ matrix.toolchain.name }})
uses: actions-rust-lang/setup-rust-toolchain@v1.5.0
with:
toolchain: ${{ matrix.toolchain.version }}
- name: Test (lib only)
if: matrix.toolchain.name == 'msrv'
run: cargo test --all-features --lib --tests
- name: Test (everything)
if: matrix.toolchain.name != 'msrv'
run: cargo test --all-features