Bump dependencies #49
Workflow file for this run
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: Rust | |
on: | |
push: | |
branches: [ master, develop ] | |
pull_request: | |
branches: [ master, develop ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
test: | |
name: Test on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup xcb | |
if: ${{ matrix.os == 'ubuntu-latest' }} | |
run: sudo apt-get install libxcb-xfixes0-dev | |
- name: Setup rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
components: rustfmt, clippy | |
- name: Clippy | |
run: cargo clippy | |
- name: RustFmt | |
run: cargo fmt -- --check | |
- name: Run tests | |
uses: GabrielBB/xvfb-action@v1.2 | |
with: | |
run: cargo test --verbose -- --test-threads=1 | |
- name: Build | |
run: cargo build |