Check out example codes for "github rust action". It will help you in understanding the concepts better.

Code Example 1

name: Rust Example

on: [push]

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/[email protected]
      - uses: icepuma/[email protected]
        with:
          args: cd integration-test && cargo fmt -- --check && cargo clippy -- -Dwarnings && cargo test

Learn ReactJs, React Native from akashmittal.com