Go to file
2023-05-31 23:34:41 +02:00
.github/workflows [migrate] to new workflow syntax 2019-11-09 00:48:03 +01:00
integration-test [bump] rust to 1.42.0 2020-03-12 21:57:29 +01:00
.gitignore [doc][test] add 'args' to usage and add integration test 2019-01-26 00:49:58 +01:00
action.yml [feat] meta data for github action 2019-12-19 14:08:44 +01:00
Dockerfile [bump] rust to 1.68.0 2023-03-09 16:44:20 +01:00
entrypoint.sh [bootstrap] github action 2019-01-26 00:21:00 +01:00
LICENSE [bootstrap] github action 2019-01-26 00:21:00 +01:00
README.md fix: link to profile 2023-05-31 23:34:41 +02:00

Rust Github Action

⚠️ Action is deprecated, please use rust-action. Thanks to Mirlahiji for taking over the project ❤️

'Silverbullet' for a quickstart Rust CI based upon Github Actions

What's inside the "box":

  • Rust 1.68.0
  • Rustfmt
  • Clippy
  • Cargo Release
  • cmake - Thanks @ bwasty

Usage

In a file inside .github/workflows/quickstart.yml

name: Rust Example

on: [push]

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v1
      - uses: icepuma/rust-action@master
        with:
          args: cd integration-test && cargo fmt -- --check && cargo clippy -- -Dwarnings && cargo test