rust-embassy-template/.gitea/workflows/push_non_master.yaml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 19: mapping key "id" already defined at line 15 line 20: mapping key "with" already defined at line 16
2025-02-13 07:06:11 +01:00

30 lines
No EOL
753 B
YAML

name: Build on feature branch
run_name: Test successful build on push
on:
push:
branches-ignore:
- master
jobs:
Build:
steps:
- uses: https://github.com/actions/checkout@main
- uses: https://github.com/SebRollen/toml-action@v1.2.0
id: read_rust_toolchain
with:
file: rust-toolchain
field: toolchain.targets
id: read_rust_components
with:
file: rust-toolchain
field: toolchain.components
- uses: https://github.com/dtolnay/rust-toolchain@stable
with:
toolchain: ${{ steps.read_rust_toolchain.outputs.value }}
components: ${{ steps.read_rust_components.outputs.value }}
- name: Build
run: cargo build