rust_app/.forgejo/workflows/main.yml
continuist b49b7a5ef3
All checks were successful
Pipeline main branch / test (push) Successful in 2m12s
try to fix cargo build command
2025-04-13 00:34:37 -04:00

20 lines
No EOL
495 B
YAML

name: Pipeline main branch
on:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest # Or other appropriate runner
steps:
- uses: actions/checkout@v4 # Checkout the repository
- name: Install Rust toolchain
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source $HOME/.cargo/env
- name: Run cargo build
run: |
source $HOME/.cargo/env
$HOME/.cargo/bin/cargo build