Skip to content

Bump x11rb to 0.12.0 #23

Bump x11rb to 0.12.0

Bump x11rb to 0.12.0 #23

Workflow file for this run

name: Check
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cargo Target Cache
uses: actions/cache@v3
with:
path: target
key: ${{ runner.os }}-cargo-target-${{ hashFiles('**/Cargo.toml') }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-target-${{ hashFiles('**/Cargo.toml') }}
${{ runner.os }}-cargo-target
- name: Build
run: cargo build --verbose --all --all-features
- name: Run tests
run: cargo test --verbose --all --all-features
msrv:
runs-on: ubuntu-latest
strategy:
matrix:
rust: ["1.61.0"]
steps:
- uses: actions/checkout@v3
- name: Cargo Target Cache
uses: actions/cache@v3
with:
path: target
key: ${{ runner.os }}-cargo-target-${{ hashFiles('**/Cargo.toml') }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-target-${{ hashFiles('**/Cargo.toml') }}
${{ runner.os }}-cargo-target
- name: Install Rust
run: |
rustup toolchain install ${{ matrix.rust }}
rustup default ${{ matrix.rust }}
rustup component add rustfmt
- name: Build
run: cargo build --verbose --all --all-features
clippy_and_fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cargo Target Cache
uses: actions/cache@v3
with:
path: target
key: ${{ runner.os }}-cargo-target-${{ hashFiles('**/Cargo.toml') }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-target-${{ hashFiles('**/Cargo.toml') }}
${{ runner.os }}-cargo-target
- name: Clippy
run: cargo clippy --verbose --all --all-features -- -D warnings
- name: Rustfmt
run: cargo fmt --verbose --all -- --check