Skip to content

feat(-A): restore --builduser #353

feat(-A): restore --builduser

feat(-A): restore --builduser #353

Workflow file for this run

name: Rust
on:
push:
branches: [master]
paths:
- "rust/**/Cargo.toml"
- "rust/**/*.rs"
- ".github/workflows/rust.yaml"
pull_request:
paths:
- "rust/**/Cargo.toml"
- "rust/**/*.rs"
env:
CARGO_TERM_COLOR: always
jobs:
build:
name: Tests
runs-on: ubuntu-latest
container:
image: ghcr.io/archlinux/archlinux:latest
steps:
- name: Install Rust
run: pacman -Sy rust gcc glibc openssl pkgconf --noconfirm
- name: Clone Project
uses: actions/checkout@v4
- name: Cache Dependencies
uses: Swatinem/rust-cache@v2
with:
workspaces: "rust -> target"
- name: Build and Test
run: |
cd rust/
cargo test --locked