Skip to content

ci: order nix workflows; add cargo audit #2

ci: order nix workflows; add cargo audit

ci: order nix workflows; add cargo audit #2

Workflow file for this run

name: Build Cargo Workspace
on:
workflow_call:
workflow_dispatch:
pull_request:
branches: ["master"]
push:
branches:
- "*"
env:
CARGO_TERM_COLOR: always
jobs:
build:
name: Build Cargo Workspace
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Dependencies
run: sudo apt install \
libgtk-layer-shell libgtk-3 libgdk-3 \
libpango-1.0 libcairo libcairo-gobject \
libgdk_pixbuf-2.0 libgobject-2.0 libgio-2.0 libglib-2.0
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: Swatinem/rust-cache@v2
name: Cache dependencies
- uses: actions-rs/cargo@v1
name: Build crate
with:
command: build
args: --verbose --all-features