#projects #workflow #github-action #continuous-integration #reference #ci

app rust-workflows

A reference for GitHub Action workflows to use on Rust projects

17 releases (7 breaking)

0.9.0 Mar 2, 2022
0.8.2 Dec 27, 2021
0.7.1 Dec 23, 2021
0.6.0 Dec 23, 2021
0.2.1 Dec 22, 2021

#844 in Testing

44 downloads per month

MIT license

9KB

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.

Dependencies

~3–11MB
~108K SLoC