Merge pull request #41 from notriddle/master #34
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
# Only run when merging to master, or open/synchronize/reopen a PR. | |
push: | |
branches: | |
- master | |
- staging | |
- trying | |
pull_request: | |
merge_group: | |
jobs: | |
test: | |
name: Test | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
rust: ["1.70.0", "stable", "beta"] | |
os: [ubuntu-latest] | |
cargo_params: ["--features=version-sync", "--features=serde"] | |
steps: | |
- uses: actions/checkout@master | |
- name: Set toolchain | |
run: | | |
rustup set profile minimal | |
rustup override set ${{ matrix.rust }} | |
- name: Test | |
run: cargo test ${{ matrix.cargo_params }} | |
ci-success: | |
name: ci | |
if: ${{ success() }} | |
needs: | |
- test | |
runs-on: ubuntu-latest | |
steps: | |
- name: CI succeeded | |
run: exit 0 |