Skip to content

Create rust.yml

Create rust.yml #2

Workflow file for this run

name: Rust RTI Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cd rust/rti
run: cargo build --verbose

Check failure on line 21 in .github/workflows/rust.yml

View workflow run for this annotation

GitHub Actions / Rust RTI Test

Invalid workflow file

The workflow is not valid. .github/workflows/rust.yml (Line: 21, Col: 7): 'run' is already defined