rustc-cfg 0.5.0

Runs `rustc --print cfg` and parses the output
Documentation
name: CI

on:
  push:
    branches: [main, staging, trying]
  pull_request:
    branches: [main]

jobs:
  test:
    strategy:
      matrix:
        rust:
          - stable
          - nightly
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions-rs/toolchain@v1
        with:
          override: true
          profile: minimal
          toolchain: ${{ matrix.rust }}
      - name: Run test suite
        run: cargo test

  ci-success:
    name: CI
    if: ${{ success() }}
    needs:
      - test
    runs-on: ubuntu-latest
    steps:
      - name: CI succeeded
        run: exit 0