Skip to content

Bump once_cell from 1.20.0 to 1.20.2 #720

Bump once_cell from 1.20.0 to 1.20.2

Bump once_cell from 1.20.0 to 1.20.2 #720

Workflow file for this run

on: [push, pull_request]
name: lint
jobs:
check:
strategy:
matrix:
include:
- target: i686-pc-windows-msvc
os: windows-latest
- target: x86_64-unknown-linux-gnu
os: ubuntu-latest
continue-on-error: true
name: Check
runs-on: ${{ matrix.os }}
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- name: Run cargo check
uses: clechasseur/rs-cargo@v2
with:
command: check
test:
strategy:
matrix:
include:
- target: i686-pc-windows-msvc
os: windows-latest
- target: x86_64-unknown-linux-gnu
os: ubuntu-latest
continue-on-error: true
name: Test Suite
runs-on: ${{ matrix.os }}
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- name: Run cargo test
uses: clechasseur/rs-cargo@v2
with:
command: test
lints:
strategy:
matrix:
include:
- target: i686-pc-windows-msvc
os: windows-latest
- target: x86_64-unknown-linux-gnu
os: ubuntu-latest
continue-on-error: true
name: Lints
runs-on: ${{ matrix.os }}
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: rustfmt, clippy
- name: Run cargo fmt
uses: clechasseur/rs-cargo@v2
with:
command: fmt
args: --all -- --check
- name: Run cargo clippy
uses: clechasseur/rs-cargo@v2
with:
command: clippy
args: -- -D warnings