atomic_swapping 0.1.0

An arbitrary type atomic storage with swap operations
Documentation
on:
  push:
    branches:
      - master
  pull_request:
    branches:
      - master

name: Lints

jobs:
  clippy:
    name: Clippy
    runs-on: ubuntu-latest
    strategy:
      matrix:
        rust:
          - stable
          - nightly
        mode:
          - ""
          - --release
        features:
          - ""
          - --features never_unchecked

    steps:
      - name: Checkout sources
        uses: actions/checkout@v2

      - name: Install toolchain
        uses: actions-rs/toolchain@v1
        with:
          profile: minimal
          toolchain: ${{ matrix.rust }}
          override: true
          components: clippy

      - name: Run cargo clippy
        uses: actions-rs/cargo@v1
        with:
          command: clippy
          args: ${{ matrix.mode }} --no-default-features ${{ matrix.features }} -- -D warnings