Skip to content

Cargo update

Cargo update #168

Workflow file for this run

name: Rust Code Quality and Tests
on:
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: xorg-dev libxcb-shape0-dev libxcb-xfixes0-dev
version: 1.0
- uses: actions/checkout@v3
- name: Rust cache
uses: Swatinem/rust-cache@v2
with:
shared-key: 'kolezanka'
- name: Build
run: cargo build --verbose
checks:
needs: build
runs-on: ubuntu-latest
steps:
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: xorg-dev libxcb-shape0-dev libxcb-xfixes0-dev
version: 1.0
- uses: actions/checkout@v3
- name: Rust cache
uses: Swatinem/rust-cache@v2
with:
shared-key: 'kolezanka'
- name: Tests
run: cargo test --verbose
- name: Code Format
run: cargo fmt --check
- name: Code Lint
run: cargo clippy -- -D warnings