Reusable GitHub Actions workflows
Find a file
renovate[bot] cff8cd645c
Some checks failed
Test Nix Flakes project / Build and check (push) Has been cancelled
Test Rust project / Check MSRV (push) Has been cancelled
Test Rust project / Check MSRV-1 (push) Has been cancelled
Test Rust project / Check MSRV-2 (push) Has been cancelled
Test Rust project / Run cargo-deny (push) Has been cancelled
Test Rust project / Run cargo-deny-1 (push) Has been cancelled
Test Rust project / Run checks (push) Has been cancelled
Test Rust project / Run checks-1 (push) Has been cancelled
Test Rust project / Run checks-2 (push) Has been cancelled
Test Rust project / Run checks-3 (push) Has been cancelled
Test Rust project / Run checks-4 (push) Has been cancelled
Test Rust project / Run checks-5 (push) Has been cancelled
Test Rust project / Run checks-6 (push) Has been cancelled
Test Rust project / Run checks-7 (push) Has been cancelled
Test Rust project / Run checks-8 (push) Has been cancelled
Update flake.lock / Update flake.lock (push) Has been cancelled
chore(deps): update nixbuild/nix-quick-install-action action to v34
2025-09-24 21:04:36 +00:00
.github chore(deps): update nixbuild/nix-quick-install-action action to v34 2025-09-24 21:04:36 +00:00
renovate renovate: add gladis/gladis_proc_macros to Rust groups 2024-04-16 20:29:18 +05:30
README.md No Maintenance Intended 2023-01-10 01:07:21 +05:30

shared-workflows No Maintenance Intended

GitHub Actions workflows I use across multiple projects, stored in a single place for reusability.

Contents

Rust

  • Runs checks across 3 operating systems (Linux, macOS, and Windows) and 3 Rust channels (Beta, Nightly, and Stable).
  • Validates source code formatting
  • Lints source code using Clippy
  • Runs tests using cargo-nextest
  • Lints dependencies using cargo-deny
  • Can install packages on Linux runners using APT for crates that do dynamic linking
  • Checks that the crate compiles against its MSRV (1.57.0 by default)
Usage
on:
  push:
    branches:
      - main
      - renovate/**
  pull_request:
    branches:
      - main

name: Check Rust code
jobs:
  check:
    uses: msfjarvis/shared-workflows/.github/workflows/test-rust-project.yml@main

Nix Flakes

  • Sets up Nix on a Linux runner
  • Sets up Cachix with my own binary cache
  • Runs nix flake check to run all default checks exposed by the Flake
Usage
on:
  push:
    branches:
      - main
      - renovate/**
  pull_request:
    branches:
      - main

name: Check Rust code
jobs:
  check:
    uses: msfjarvis/shared-workflows/.github/workflows/test-flakes-project.yml@main
    secrets:
      github-token: ${{ secrets.GITHUB_TOKEN }}
      cachix-token: ${{ secrets.CACHIX_AUTH_TOKEN }}