rust-workflows

Crates.iorust-workflows
lib.rsrust-workflows
version0.9.0
sourcesrc
created_at2021-12-22 11:38:00.127594
updated_at2022-03-02 09:21:17.096245
descriptionA reference for GitHub Action workflows to use on Rust projects
homepage
repository
max_upload_size
id501604
size26,474
Hendrik Maus (hendrikmaus)

documentation

README

Workflows For Rust Projects

A reference for GitHub Action workflows to use on Rust projects:

Copy, paste and hack away.

Usage

You either base your own workflows on these by copy & paste or you can call them from your workflow directly.

Here is how you can re-use the existing continuous integration workflow right away:

---
name: CI

on:
  push:
    branches:
      - main
      - master
    paths-ignore:
      - 'docs/**'
      - '**.md'
  pull_request:
    types:
      - opened
      - reopened
      - synchronize
    paths-ignore:
      - 'docs/**'
      - '**.md'

jobs:
  rust-workflows-ci:
    name: CI
    uses: hendrikmaus/rust-workflows/.github/workflows/ci.yaml@v0.8.0

The release workflow is too specific to be offered as re-usable workflow.

License

This project is released under the terms of the MIT license.

Commit count: 0

cargo fmt