Files
rust-hello-world/.gitea/workflows/rust-cache-test.yml
Hermes 87c5c4d298
All checks were successful
Rust Build / build (push) Successful in 4m25s
refactor: use eric/actions-rust composite action
2026-05-02 15:43:56 -07:00

31 lines
533 B
YAML

name: Rust Build
on:
push:
branches:
- main
- master
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: https://gitea.com/actions/checkout@v4
- name: Setup Rust + Cache
id: rust
uses: https://git.ericxliu.me/eric/actions-rust/.gitea/actions/rust-cache@main
with:
toolchain: stable
- name: Build
run: cargo build --verbose
- name: Run
run: cargo run