rust-imap/github/workflows/test.yml
2022-09-17 12:46:13 -07:00

25 lines
575 B
YAML

on:
push:
branches: [master]
pull_request:
name: cargo test
jobs:
test:
runs-on: ubuntu-latest
name: ubuntu / ${{ matrix.toolchain }}
strategy:
matrix:
toolchain: [stable, beta, nightly]
steps:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.toolchain }}
- uses: actions/checkout@v3
with:
submodules: true
- name: cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: --all-features --all-targets