Skip to content

Allow subenum visibility to be overridden #65

Allow subenum visibility to be overridden

Allow subenum visibility to be overridden #65

Workflow file for this run

on:
push:
branches:
- main
pull_request:
branches:
- main
name: CI
jobs:
all-succeeded:
name: All Succeeded
if: always()
runs-on: ubuntu-latest
needs:
- test
- lint
steps:
- name: Check if all jubs succeeded
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}
test:
name: Test
runs-on: ubuntu-latest
env:
RUSTFLAGS: -D warnings
strategy:
matrix:
rust:
- stable
- nightly
flags:
- ""
- "--no-default-features"
steps:
- uses: actions/checkout@v4
name: Checkout
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
name: Install Rust Toolchain
- run: cargo test ${{ matrix.flags }}
- run: cargo doc
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Checkout
- uses: dtolnay/rust-toolchain@stable
name: Install Rust Toolchain
with:
components: rustfmt, clippy
- run: cargo fmt --all -- --check
- run: cargo clippy -- -D warnings