Skip to content

Remove trailing comma at the end of new macro #19

Remove trailing comma at the end of new macro

Remove trailing comma at the end of new macro #19

name: Cargo Check Examples
on:
push:
branches: [main]
paths:
- '**.rs'
- '**.toml'
pull_request:
branches: [main]
paths:
- '**.rs'
- '**.toml'
jobs:
# Examples that will work with feature bot
full_feature_check:
name: Full Feature Example Check
strategy:
matrix:
example: [basic_bot, reactions, slash_commands, rich_presence]
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install Stable toolchain
uses: rs-workspace/[email protected]
- name: Install Dependencies
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev
- name: Cargo Check ${{ matrix.example }}
run: cargo check --example ${{ matrix.example }} --features "full docsrs"