Args: --and-exit working again. #48
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: | |
push: | |
branches: [master, staging, trying] | |
pull_request: | |
branches: [master] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
check: | |
name: check | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
rust: | |
- stable | |
- beta | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
- name: Install toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: ${{ matrix.rust }} | |
override: true | |
- uses: swatinem/rust-cache@v1 | |
- name: Install system dependencies | |
run: sudo apt update && sudo apt install -y libgtk-4-dev build-essential | |
- name: cargo-check | |
uses: actions-rs/cargo@v1 | |
with: | |
command: check | |
# We need some "accummulation" job here because bors fails (timeouts) to | |
# listen on matrix builds. | |
# Hence, we have some kind of dummy here that bors can listen on | |
ci-success: | |
name: CI | |
if: ${{ success() }} | |
needs: | |
- check | |
runs-on: ubuntu-latest | |
steps: | |
- name: CI succeeded | |
run: exit 0 |