Skip to content

Add simple panic messages #139

Add simple panic messages

Add simple panic messages #139

Workflow file for this run

name: CI
on:
# Only run when merging to master, or open/synchronize/reopen a PR.
push:
branches:
- master
- staging
- trying
pull_request:
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
rust: ["stable", "beta"]
build_flags: ["", "--cfg ammonia_unstable"]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@master
- name: Set toolchain
run: |
rustup set profile minimal
rustup override set ${{ matrix.rust }}
- name: Test
run: cargo test
env:
RUSTFLAGS: ${{ matrix.build_flags }}
msrv:
name: MSRV
runs-on: ubuntu-latest
strategy:
matrix:
build_flags: ["", "--cfg ammonia_unstable"]
steps:
- uses: actions/checkout@master
- name: Set toolchain
run: |
rustup set profile minimal
rustup override set 1.61.0
- name: Check
run: cargo check --lib --all-features
env:
RUSTFLAGS: ${{ matrix.build_flags }}
ci-success:
name: ci
if: ${{ success() }}
needs:
- test
- msrv
runs-on: ubuntu-latest
steps:
- name: CI succeeded
run: exit 0