Skip to content

Remove Send + Sync from core traits #39

Remove Send + Sync from core traits

Remove Send + Sync from core traits #39

Workflow file for this run

name: Continuous Integration
on:
push:
branches: [main]
pull_request:
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
build: [stable]
include:
- build: stable
toolchain: stable
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.toolchain }}
override: true
components: rustfmt
- uses: actions-rs/cargo@v1
with:
command: build
args: --workspace --all-features
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
build: [stable]
include:
- build: stable
toolchain: stable
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.toolchain }}
override: true
components: rustfmt, clippy
- uses: actions-rs/cargo@v1
with:
command: test
args: --workspace --all-features
formatting:
name: Rustfmt Check
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
lint:
name: Clippy Lint
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: clippy
- uses: actions-rs/cargo@v1
with:
command: clippy
args: --workspace --all-features