Go to file
Felix Seifert 2811f8f89b ci: run integration tests with code changes before releasing new action
This GH Action workflow runs integration tests on `push` and `pull_request` with the latest
code of this `rust-action`. It does require neither a release nor a push to master to test
the latest changes in this action. This workflow can be used as required test for a branch
protection rule.
2023-07-16 23:20:50 +02:00
.github/workflows ci: run integration tests with code changes before releasing new action 2023-07-16 23:20:50 +02: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 refactor: action name 2023-06-04 08:57:13 +03:30
Dockerfile fix: label action name 2023-06-05 09:22:59 +03:30
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 docs: change README after deprecation 2023-06-02 22:38:53 +03:30

Rust Github Action

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

Conventional Commits

What's inside the "box":

  • Rust 1.70.0
  • Rustfmt
  • Clippy
  • Cargo Release
  • Cmake

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: mirlahiji/rust-action@master
        with:
          args: cd integration-test && cargo fmt -- --check && cargo clippy -- -Dwarnings && cargo test

Thanks to @ icepuma for handing over the project and @ bwasty for Cmake