Files
gravel/.gitea/workflows/pipeline.yml
Kerdonov c67d2ab55a
Some checks failed
Build the release program / Cargo build release (push) Failing after 1m49s
gitea workflow fix 4
2025-11-09 23:24:12 +02:00

43 lines
820 B
YAML

name: Build the release program
on:
push:
branches: ["master"]
env:
CARGO_TERM_COLOR: always
jobs:
build:
name: Cargo build release
runs-on: rust-latest
steps:
- name: Deps
run: apt-get update -y && apt-get install nodejs -y
- name: Checkout repo
uses: actions/checkout@v4
- name: Check formatting
run: cargo fmt --all -- --check
- name: Run linter
run: cargo clippy -- -D warnings
- name: Test
run: cargo test --verbose
- name: Build release
run: cargo build --release --verbose
- name: tar /target/release
run: tar -czf release.tar.gz /target/release
- name: Release
uses: akkuman/gitea-release-action@v1
with:
files: |-
release.tar.gz