2
0
Fork 0
mirror of https://github.com/simonask/libyaml-safer synced 2025-03-09 09:17:21 +00:00

Set up GitHub Actions

This commit is contained in:
David Tolnay 2022-07-08 12:00:25 -07:00
parent 00d4773f87
commit d984aed5af
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82

29
.github/workflows/ci.yml vendored Normal file
View file

@ -0,0 +1,29 @@
name: CI
on:
push:
pull_request:
schedule: [cron: "40 1 * * *"]
jobs:
test:
name: Rust ${{matrix.rust}}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
rust: [nightly, beta, stable, 1.62.0]
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{matrix.rust}}
- run: cargo test
msrv:
name: Rust 1.56.0
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@1.56.0
- run: cargo check --lib