Skip to content

Update to serenity 0.12 (#18) #128

Update to serenity 0.12 (#18)

Update to serenity 0.12 (#18) #128

Workflow file for this run

on: [push, pull_request]
name: CI
jobs:
test:
name: Check Suite
runs-on: ${{ matrix.os || 'ubuntu-latest' }}
strategy:
fail-fast: false
matrix:
name:
- stable
- beta
- macOS
- Windows
- no features
include:
- name: beta
toolchain: beta
- name: macOS
os: macOS-latest
- name: Windows
os: windows-latest
- name: no features
feature_flags: --no-default-features
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.toolchain || 'stable' }}
override: true
- run: cargo check ${{ matrix.feature_flags || '--all-features' }}
fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add rustfmt
- run: cargo fmt --all -- --check
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add clippy
- run: cargo clippy --all-features -- -D warnings